Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008856/0.0008899, allocations: 100.5 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.0009337/0.0009338, allocations: 178.8 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.895/1.895, allocations: 205.4 MB / 222.8 MB, free: 5.887 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.857/1.857, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0004855/0.0004856, allocations: 14.16 kB / 0.6744 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3128, allocations: 116.3 MB / 0.7879 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.0009358/0.3138, allocations: 490 kB / 0.7884 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.3153, allocations: 1.123 MB / 0.7895 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.3154, allocations: 3.938 kB / 0.7895 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.353e-05/0.3155, allocations: 0 / 0.7895 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.124e-05/0.3156, allocations: 15.75 kB / 0.7895 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.3161, allocations: 115.5 kB / 0.7896 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.3163, allocations: 111.7 kB / 0.7897 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.93e-05/0.3164, allocations: 12 kB / 0.7897 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.3165, allocations: 43.89 kB / 0.7898 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.3166, allocations: 43.81 kB / 0.7898 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.3166, allocations: 4 kB / 0.7898 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-05/0.3167, allocations: 19.98 kB / 0.7899 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.3167, allocations: 11.94 kB / 0.7899 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.3168, allocations: 41.69 kB / 0.7899 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.3169, allocations: 76.09 kB / 0.79 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3169, allocations: 0 / 0.79 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3169, allocations: 0 / 0.79 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.3169, allocations: 4 kB / 0.79 GB, free: 9.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000608/0.3175, allocations: 420.8 kB / 0.7904 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3176, allocations: 8.031 kB / 0.7904 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.3176, allocations: 7.906 kB / 0.7904 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.3178, allocations: 178.9 kB / 0.7906 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.3179, allocations: 8 kB / 0.7906 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.3179, allocations: 4 kB / 0.7906 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.3182, allocations: 89.64 kB / 0.7907 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3182, allocations: 0 / 0.7907 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3182, allocations: 0 / 0.7907 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.3182, allocations: 8 kB / 0.7907 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.3185, allocations: 91.92 kB / 0.7908 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000531/0.3191, allocations: 336.6 kB / 0.7911 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.3193, allocations: 62.55 kB / 0.7911 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.3194, allocations: 60.91 kB / 0.7912 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.3195, allocations: 3.984 kB / 0.7912 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000291/0.3198, allocations: 107.3 kB / 0.7913 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.3198, allocations: 0 / 0.7913 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005885/0.3204, allocations: 193.4 kB / 0.7915 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.3204, allocations: 51.41 kB / 0.7915 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.3205, allocations: 126 kB / 0.7917 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.3206, allocations: 41.62 kB / 0.7917 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.3206, allocations: 88.14 kB / 0.7918 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.3207, allocations: 15.75 kB / 0.7918 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.3207, allocations: 4 kB / 0.7918 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3208, allocations: 318.8 kB / 0.7921 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.321, allocations: 71.95 kB / 0.7922 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.3213, allocations: 94.45 kB / 0.7923 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.3215, allocations: 101.6 kB / 0.7924 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3215, allocations: 0 / 0.7924 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005206/0.322, allocations: 235.1 kB / 0.7926 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.731e-05/0.3221, allocations: 33.7 kB / 0.7926 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.3221, allocations: 0 / 0.7926 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.3221, allocations: 8.047 kB / 0.7926 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.3223, allocations: 23.98 kB / 0.7927 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3223, allocations: 0 / 0.7927 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.3226, allocations: 63.81 kB / 0.7927 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.3226, allocations: 7.984 kB / 0.7927 GB, free: 6.75 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.000104/0.3227, allocations: 117.8 kB / 0.7928 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.3227, allocations: 4 kB / 0.7928 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.3228, allocations: 8.375 kB / 0.7928 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3228, allocations: 0 / 0.7928 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3228, allocations: 0 / 0.7928 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3228, allocations: 11.94 kB / 0.7929 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.323, allocations: 189.6 kB / 0.793 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.323, allocations: 0 / 0.793 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.3231, allocations: 19.98 kB / 0.7931 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3231, allocations: 0 / 0.7931 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.3231, allocations: 0 / 0.7931 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3231, allocations: 0 / 0.7931 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3231, allocations: 0 / 0.7931 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/0.3235, allocations: 181.2 kB / 0.7932 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.3235, allocations: 85 kB / 0.7933 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.3236, allocations: 8 kB / 0.7933 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.3237, allocations: 15.98 kB / 0.7933 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.3237, allocations: 3.984 kB / 0.7933 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.3237, allocations: 4 kB / 0.7933 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.142e-05/0.3238, allocations: 108.1 kB / 0.7934 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3238, allocations: 0 / 0.7934 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002193/0.324, allocations: 20 kB / 0.7935 GB, free: 5.895 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001671/0.3242, allocations: 99.25 kB / 0.7936 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004722/0.3247, allocations: 211.3 kB / 0.7938 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3247, allocations: 0 / 0.7938 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.3249, allocations: 64.02 kB / 0.7938 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.3251, allocations: 31.91 kB / 0.7938 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.3255, allocations: 199 kB / 0.794 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.3259, allocations: 0.6887 MB / 0.7947 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.3259, allocations: 11.44 kB / 0.7947 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.3259, allocations: 0 / 0.7947 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of Templates: time 0.0033/0.3292, allocations: 1.309 MB / 0.796 GB, free: 3.23 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Logical.Validation.SwitchCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.SwitchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.SwitchCalcHelperMain.o] Error 1