Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008812/0.0008813, allocations: 102.2 kB / 15.71 MB, free: 460 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.001096/0.001096, allocations: 177.9 kB / 16.58 MB, free: 6.121 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.797/1.797, allocations: 205.4 MB / 222.8 MB, free: 5.293 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.853/1.853, 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.0005501/0.0005501, allocations: 18.25 kB / 0.6744 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2953, allocations: 116.3 MB / 0.7879 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001313/0.2967, allocations: 0.7137 MB / 0.7886 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.2985, allocations: 1.285 MB / 0.7899 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.704e-05/0.2986, allocations: 4 kB / 0.7899 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.2986, allocations: 7.875 kB / 0.7899 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.2987, allocations: 27.78 kB / 0.7899 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007432/0.2995, allocations: 226.6 kB / 0.7901 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.2998, allocations: 263.4 kB / 0.7904 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.2999, allocations: 33.84 kB / 0.7904 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.3001, allocations: 103.7 kB / 0.7905 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.3002, allocations: 91.56 kB / 0.7906 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.3002, allocations: 16 kB / 0.7906 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.475e-05/0.3003, allocations: 23.98 kB / 0.7907 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.3004, allocations: 31.84 kB / 0.7907 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.962e-05/0.3005, allocations: 53.64 kB / 0.7907 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.3007, allocations: 251.5 kB / 0.791 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3008, allocations: 0 / 0.791 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3008, allocations: 0 / 0.791 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.3008, allocations: 0 / 0.791 GB, free: 8.777 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008568/0.3016, allocations: 0.5293 MB / 0.7915 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3017, allocations: 8.031 kB / 0.7915 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.493e-05/0.3018, allocations: 27.7 kB / 0.7915 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007733/0.3026, allocations: 323.2 kB / 0.7918 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.3026, allocations: 12 kB / 0.7918 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.3027, allocations: 20 kB / 0.7919 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.303, allocations: 136.1 kB / 0.792 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.303, allocations: 0 / 0.792 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.303, allocations: 0 / 0.792 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.303, allocations: 7.953 kB / 0.792 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.3033, allocations: 87.88 kB / 0.7921 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007865/0.304, allocations: 0.6452 MB / 0.7927 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.3044, allocations: 135.8 kB / 0.7928 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.3046, allocations: 58.8 kB / 0.7929 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.3046, allocations: 4 kB / 0.7929 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.3049, allocations: 145.8 kB / 0.793 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.3049, allocations: 3.938 kB / 0.7931 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.000559/0.3055, allocations: 221.8 kB / 0.7933 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.3056, allocations: 106.8 kB / 0.7934 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.3058, allocations: 194.7 kB / 0.7936 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.3058, allocations: 33.7 kB / 0.7936 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.3059, allocations: 124.5 kB / 0.7937 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.306, allocations: 39.61 kB / 0.7937 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.306, allocations: 4 kB / 0.7937 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3062, allocations: 334.8 kB / 0.7941 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.3064, allocations: 95.89 kB / 0.7942 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.3067, allocations: 171.4 kB / 0.7943 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.3069, allocations: 151.3 kB / 0.7945 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3069, allocations: 0 / 0.7945 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006461/0.3076, allocations: 352.6 kB / 0.7948 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.806e-05/0.3077, allocations: 67.52 kB / 0.7949 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.3077, allocations: 4 kB / 0.7949 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3077, allocations: 0 / 0.7949 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.708e-05/0.3078, allocations: 27.92 kB / 0.7949 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.3078, allocations: 4 kB / 0.7949 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.3082, allocations: 87.77 kB / 0.795 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.3082, allocations: 19.98 kB / 0.795 GB, free: 4.297 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition4,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * 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.000151/0.3084, allocations: 142.6 kB / 0.7951 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.3084, allocations: 19.8 kB / 0.7952 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.3087, allocations: 102.5 kB / 0.7953 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3087, allocations: 4 kB / 0.7953 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3087, allocations: 0 / 0.7953 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.3087, allocations: 7.984 kB / 0.7953 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.309, allocations: 241.5 kB / 0.7955 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.309, allocations: 4 kB / 0.7955 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.204e-05/0.3091, allocations: 19.92 kB / 0.7955 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.3091, allocations: 0 / 0.7955 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.3092, allocations: 4 kB / 0.7955 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3092, allocations: 0 / 0.7955 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3092, allocations: 0 / 0.7955 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.3096, allocations: 206.5 kB / 0.7957 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.3096, allocations: 92.91 kB / 0.7958 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.3097, allocations: 4 kB / 0.7958 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.774e-05/0.3098, allocations: 20.23 kB / 0.7958 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.319e-05/0.3099, allocations: 27.89 kB / 0.7959 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.3099, allocations: 15.98 kB / 0.7959 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001214/0.31, allocations: 140.2 kB / 0.796 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.01e-07/0.31, allocations: 3.938 kB / 0.796 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002689/0.3103, allocations: 40 kB / 0.796 GB, free: 3.113 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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.0002158/0.3105, allocations: 117.8 kB / 0.7962 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005758/0.3111, allocations: 330.5 kB / 0.7965 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3111, allocations: 0 / 0.7965 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.3113, allocations: 76.16 kB / 0.7965 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.3116, allocations: 35.92 kB / 0.7966 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.3122, allocations: 371.9 kB / 0.7969 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.3125, allocations: 0.7206 MB / 0.7976 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.3126, allocations: 19.44 kB / 0.7977 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.3126, allocations: 0 / 0.7977 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of Templates: time 0.004924/0.3175, allocations: 2.764 MB / 0.8004 GB, free: 14.62 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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.HysteresisCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.HysteresisCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.HysteresisCalcHelperMain.o] Error 1