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.001017/0.001017, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009824/0.0009825, allocations: 172.3 kB / 16.92 MB, free: 6.652 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.951/1.951, allocations: 205.4 MB / 223.1 MB, free: 5.555 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.874/1.874, allocations: 292.7 MB / 0.5509 GB, free: 14.46 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.0005874/0.0005872, allocations: 15.59 kB / 0.675 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3263, allocations: 116.3 MB / 0.7886 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.002657/0.329, allocations: 1.629 MB / 0.7902 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.3308, allocations: 0.9959 MB / 0.7911 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.853e-05/0.3309, allocations: 0 / 0.7911 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004167/0.3314, allocations: 99.67 kB / 0.7912 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.3316, allocations: 87.72 kB / 0.7913 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.3319, allocations: 103.8 kB / 0.7914 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.3322, allocations: 191.4 kB / 0.7916 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.3324, allocations: 41.67 kB / 0.7916 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.3325, allocations: 75.62 kB / 0.7917 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.3327, allocations: 91.55 kB / 0.7918 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3327, allocations: 0 / 0.7918 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.3328, allocations: 55.97 kB / 0.7918 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.139e-05/0.3329, allocations: 51.81 kB / 0.7919 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.333, allocations: 101.1 kB / 0.792 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.3333, allocations: 215.8 kB / 0.7922 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3333, allocations: 0 / 0.7922 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3333, allocations: 0 / 0.7922 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.3333, allocations: 0 / 0.7922 GB, free: 7.809 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.0008619/0.3342, allocations: 0.5023 MB / 0.7927 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3342, allocations: 8.031 kB / 0.7927 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.3343, allocations: 24.66 kB / 0.7927 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.3347, allocations: 299.6 kB / 0.793 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.3348, allocations: 12.36 kB / 0.793 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3348, allocations: 7.938 kB / 0.793 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.335, allocations: 85.66 kB / 0.7931 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.335, allocations: 0 / 0.7931 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.335, allocations: 8 kB / 0.7931 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3351, allocations: 3.984 kB / 0.7931 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3352, allocations: 44.92 kB / 0.7931 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000708/0.3359, allocations: 432.5 kB / 0.7936 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.3362, allocations: 78.67 kB / 0.7936 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.635e-05/0.3362, allocations: 28.84 kB / 0.7937 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.3363, allocations: 4 kB / 0.7937 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.3364, allocations: 83.31 kB / 0.7937 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 3.677e-06/0.3365, allocations: 0 / 0.7937 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003498/0.3368, allocations: 137.5 kB / 0.7939 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.3369, allocations: 55.41 kB / 0.7939 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.3373, allocations: 359 kB / 0.7943 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.3373, allocations: 29.7 kB / 0.7943 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3374, allocations: 144 kB / 0.7944 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.3375, allocations: 19.8 kB / 0.7945 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.3375, allocations: 17.72 kB / 0.7945 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3377, allocations: 338.8 kB / 0.7948 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.3378, allocations: 59.91 kB / 0.7949 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.3379, allocations: 73.69 kB / 0.7949 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.3381, allocations: 91.95 kB / 0.795 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3381, allocations: 0 / 0.795 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003152/0.3384, allocations: 197.2 kB / 0.7952 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3384, allocations: 7.984 kB / 0.7952 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3384, allocations: 0 / 0.7952 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3385, allocations: 7.938 kB / 0.7952 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3386, allocations: 16 kB / 0.7952 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.3386, allocations: 12.05 kB / 0.7952 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.3387, allocations: 23.88 kB / 0.7953 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.3388, allocations: 4 kB / 0.7953 GB, free: 4.414 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.0001522/0.3389, allocations: 157.8 kB / 0.7954 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.3389, allocations: 19.72 kB / 0.7954 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.63e-05/0.339, allocations: 25.73 kB / 0.7955 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.339, allocations: 3.938 kB / 0.7955 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.339, allocations: 0 / 0.7955 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.339, allocations: 0 / 0.7955 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.3393, allocations: 249.6 kB / 0.7957 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3393, allocations: 0 / 0.7957 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-05/0.3393, allocations: 4 kB / 0.7957 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3393, allocations: 0 / 0.7957 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3393, allocations: 0 / 0.7957 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3393, allocations: 3.938 kB / 0.7957 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3393, allocations: 3.938 kB / 0.7957 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.3396, allocations: 140.8 kB / 0.7959 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.3396, allocations: 100.8 kB / 0.7959 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.3397, allocations: 11.94 kB / 0.796 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.23e-05/0.3398, allocations: 19.86 kB / 0.796 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.3398, allocations: 11.98 kB / 0.796 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.3399, allocations: 11.98 kB / 0.796 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002348/0.3401, allocations: 221.9 kB / 0.7962 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3401, allocations: 0 / 0.7962 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002472/0.3404, allocations: 32 kB / 0.7962 GB, free: 3.324 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.001078/0.3414, allocations: 431.4 kB / 0.7967 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.3417, allocations: 107.8 kB / 0.7968 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3417, allocations: 0 / 0.7968 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.058e-05/0.3418, allocations: 31.92 kB / 0.7968 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.3422, allocations: 56.19 kB / 0.7968 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007222/0.3429, allocations: 452.2 kB / 0.7973 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.3433, allocations: 0.7401 MB / 0.798 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.3434, allocations: 27.42 kB / 0.798 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.3434, allocations: 0 / 0.798 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of Templates: time 0.005287/0.3487, allocations: 3.016 MB / 0.801 GB, free: 14.59 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++ -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