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.0009631/0.0009633, allocations: 99.59 kB / 15.71 MB, free: 452 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.001372/0.001372, allocations: 177.1 kB / 16.58 MB, free: 6.879 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.75/1.75, allocations: 205.4 MB / 222.8 MB, free: 5.883 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.888/1.888, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0005486/0.0005488, allocations: 19.75 kB / 0.6744 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2652, allocations: 116.3 MB / 0.7879 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.002618/0.2679, allocations: 1.598 MB / 0.7895 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.2697, allocations: 0.9534 MB / 0.7904 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.2698, allocations: 4 kB / 0.7904 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000427/0.2703, allocations: 95.69 kB / 0.7905 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.2705, allocations: 75.66 kB / 0.7906 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.2709, allocations: 103.8 kB / 0.7907 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.2712, allocations: 167.5 kB / 0.7909 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.2714, allocations: 33.67 kB / 0.7909 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.2715, allocations: 75.56 kB / 0.791 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.2717, allocations: 75.67 kB / 0.791 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.2717, allocations: 4 kB / 0.791 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.2719, allocations: 47.97 kB / 0.7911 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.785e-05/0.2719, allocations: 51.81 kB / 0.7911 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.362e-05/0.272, allocations: 57.58 kB / 0.7912 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.2723, allocations: 207.8 kB / 0.7914 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.2723, allocations: 4 kB / 0.7914 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.785e-06/0.2723, allocations: 0 / 0.7914 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.2724, allocations: 0 / 0.7914 GB, free: 8.352 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.0008537/0.2732, allocations: 0.5021 MB / 0.7919 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2733, allocations: 12.03 kB / 0.7919 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.2733, allocations: 27.67 kB / 0.7919 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.2738, allocations: 286.5 kB / 0.7922 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.2738, allocations: 4 kB / 0.7922 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.2738, allocations: 8 kB / 0.7922 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.274, allocations: 81.58 kB / 0.7923 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.274, allocations: 3.938 kB / 0.7923 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.2741, allocations: 8 kB / 0.7923 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.2741, allocations: 3.984 kB / 0.7923 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.2742, allocations: 39.94 kB / 0.7923 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007082/0.2749, allocations: 428.6 kB / 0.7927 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.2752, allocations: 90.61 kB / 0.7928 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.249e-05/0.2752, allocations: 36.73 kB / 0.7929 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.2753, allocations: 0 / 0.7929 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.2754, allocations: 75.38 kB / 0.7929 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.2755, allocations: 8 kB / 0.7929 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003473/0.2758, allocations: 125.3 kB / 0.7931 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.2759, allocations: 59.41 kB / 0.7931 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000396/0.2763, allocations: 358.9 kB / 0.7935 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.2763, allocations: 25.7 kB / 0.7935 GB, free: 6 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.2764, allocations: 147.9 kB / 0.7936 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.2765, allocations: 19.8 kB / 0.7937 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/0.2765, allocations: 0 / 0.7937 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.2767, allocations: 338.8 kB / 0.794 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.2768, allocations: 55.97 kB / 0.794 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.2769, allocations: 73.69 kB / 0.7941 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.277, allocations: 54.94 kB / 0.7942 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.277, allocations: 3.938 kB / 0.7942 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000298/0.2773, allocations: 193.3 kB / 0.7943 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2774, allocations: 6.812 kB / 0.7943 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2774, allocations: 4.031 kB / 0.7943 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.2774, allocations: 4 kB / 0.7944 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.2775, allocations: 27.92 kB / 0.7944 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2775, allocations: 0 / 0.7944 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.2776, allocations: 19.89 kB / 0.7944 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.2777, allocations: 4 kB / 0.7944 GB, free: 5.047 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 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.2778, allocations: 152.9 kB / 0.7945 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.2779, allocations: 27.75 kB / 0.7946 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.2779, allocations: 21.75 kB / 0.7946 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.2779, allocations: 4 kB / 0.7946 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.2779, allocations: 0 / 0.7946 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.278, allocations: 3.984 kB / 0.7946 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.2782, allocations: 249.3 kB / 0.7948 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2782, allocations: 0 / 0.7948 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.624e-05/0.2782, allocations: 11.98 kB / 0.7949 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2782, allocations: 4 kB / 0.7949 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.2783, allocations: 3.953 kB / 0.7949 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2783, allocations: 4 kB / 0.7949 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2783, allocations: 0 / 0.7949 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.2785, allocations: 128.9 kB / 0.795 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.596e-05/0.2786, allocations: 104.8 kB / 0.7951 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.2786, allocations: 4 kB / 0.7951 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.2787, allocations: 15.94 kB / 0.7951 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.2788, allocations: 11.98 kB / 0.7951 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.2788, allocations: 7.938 kB / 0.7951 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002554/0.279, allocations: 229.9 kB / 0.7953 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2791, allocations: 3.938 kB / 0.7953 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002559/0.2793, allocations: 40.03 kB / 0.7954 GB, free: 3.949 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001067/0.2804, allocations: 417.8 kB / 0.7958 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.2807, allocations: 111.2 kB / 0.7959 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.2807, allocations: 8.062 kB / 0.7959 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.303e-05/0.2808, allocations: 31.97 kB / 0.7959 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.2811, allocations: 52.92 kB / 0.796 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007058/0.2818, allocations: 434.2 kB / 0.7964 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.2822, allocations: 0.7479 MB / 0.7971 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.2823, allocations: 27.42 kB / 0.7971 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2823, allocations: 0 / 0.7971 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of Templates: time 0.005598/0.2879, allocations: 3.027 MB / 0.8001 GB, free: 15.21 MB / 0.6231 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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