Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000837/0.000837, allocations: 102.4 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.0009266/0.0009267, allocations: 176.6 kB / 16.59 MB, free: 6.402 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.771/1.771, allocations: 205.4 MB / 222.8 MB, free: 5.414 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.821/1.821, allocations: 292.7 MB / 0.5505 GB, free: 14.59 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.0007775/0.0007776, allocations: 18.62 kB / 0.6744 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3322, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.0009034/0.3332, allocations: 434.3 kB / 0.7884 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.3348, allocations: 1.24 MB / 0.7896 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/0.3349, allocations: 4 kB / 0.7896 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.3349, allocations: 7.938 kB / 0.7896 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.244e-05/0.335, allocations: 15.84 kB / 0.7896 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007883/0.3357, allocations: 273.5 kB / 0.7899 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000211/0.336, allocations: 203.6 kB / 0.79 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.348e-05/0.3361, allocations: 8.188 kB / 0.7901 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.3362, allocations: 91.8 kB / 0.7901 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.3363, allocations: 67.78 kB / 0.7902 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/0.3363, allocations: 12 kB / 0.7902 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.654e-05/0.3364, allocations: 31.97 kB / 0.7902 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.3365, allocations: 15.92 kB / 0.7903 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.988e-05/0.3366, allocations: 49.64 kB / 0.7903 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.3368, allocations: 143.9 kB / 0.7904 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.3368, allocations: 4 kB / 0.7905 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3368, allocations: 4 kB / 0.7905 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.3368, allocations: 0 / 0.7905 GB, free: 9.363 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.0005948/0.3374, allocations: 460.2 kB / 0.7909 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3375, allocations: 8.031 kB / 0.7909 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.17e-05/0.3376, allocations: 19.84 kB / 0.7909 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.3377, allocations: 171 kB / 0.7911 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.3377, allocations: 8 kB / 0.7911 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.3378, allocations: 19.98 kB / 0.7911 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.3379, allocations: 57.61 kB / 0.7912 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.109e-06/0.3379, allocations: 4 kB / 0.7912 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.3379, allocations: 0 / 0.7912 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3379, allocations: 0 / 0.7912 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.753e-05/0.338, allocations: 19.98 kB / 0.7912 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.3385, allocations: 416.5 kB / 0.7916 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.503e-05/0.3385, allocations: 34.5 kB / 0.7916 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.325e-05/0.3386, allocations: 28.95 kB / 0.7916 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.3386, allocations: 3.984 kB / 0.7916 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.3388, allocations: 91.36 kB / 0.7917 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.3388, allocations: 0 / 0.7917 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0002598/0.339, allocations: 137.5 kB / 0.7919 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.3391, allocations: 59.39 kB / 0.7919 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.3392, allocations: 148.2 kB / 0.7921 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/0.3393, allocations: 29.7 kB / 0.7921 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.3394, allocations: 104.1 kB / 0.7922 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.3394, allocations: 20.17 kB / 0.7922 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.3394, allocations: 4 kB / 0.7922 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3395, allocations: 318.8 kB / 0.7925 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.3397, allocations: 87.94 kB / 0.7926 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.3399, allocations: 141.9 kB / 0.7927 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.3401, allocations: 161.1 kB / 0.7929 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3402, allocations: 0 / 0.7929 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005787/0.3407, allocations: 379.2 kB / 0.7933 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.752e-05/0.3408, allocations: 101.1 kB / 0.7934 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.3408, allocations: 0 / 0.7934 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3409, allocations: 7.984 kB / 0.7934 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-05/0.3409, allocations: 4 kB / 0.7934 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3409, allocations: 3.953 kB / 0.7934 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004989/0.3414, allocations: 119.9 kB / 0.7935 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.3414, allocations: 23.97 kB / 0.7935 GB, free: 5.926 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: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001098/0.3416, allocations: 134.4 kB / 0.7936 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.3416, allocations: 11.84 kB / 0.7936 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.096e-05/0.3416, allocations: 8.375 kB / 0.7937 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3416, allocations: 3.984 kB / 0.7937 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3416, allocations: 0 / 0.7937 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3416, allocations: 11.94 kB / 0.7937 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.3418, allocations: 193.6 kB / 0.7939 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3418, allocations: 0 / 0.7939 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-06/0.3418, allocations: 0 / 0.7939 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3418, allocations: 0 / 0.7939 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.3418, allocations: 7.984 kB / 0.7939 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3418, allocations: 4 kB / 0.7939 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3419, allocations: 3.938 kB / 0.7939 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.342, allocations: 137 kB / 0.794 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.3421, allocations: 85.02 kB / 0.7941 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.3421, allocations: 7.984 kB / 0.7941 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.084e-05/0.3421, allocations: 3.938 kB / 0.7941 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.3422, allocations: 11.98 kB / 0.7941 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.3422, allocations: 4 kB / 0.7941 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.876e-05/0.3423, allocations: 97.94 kB / 0.7942 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3423, allocations: 4 kB / 0.7942 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00025/0.3425, allocations: 40 kB / 0.7942 GB, free: 5.078 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001742/0.3427, allocations: 115.2 kB / 0.7944 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004573/0.3432, allocations: 366 kB / 0.7947 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3432, allocations: 0 / 0.7947 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.355e-05/0.3433, allocations: 39.98 kB / 0.7947 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.3435, allocations: 24.31 kB / 0.7948 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.3439, allocations: 241.1 kB / 0.795 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.3442, allocations: 0.6926 MB / 0.7957 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.3442, allocations: 19.44 kB / 0.7957 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3442, allocations: 0 / 0.7957 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of Templates: time 0.003911/0.3482, allocations: 1.87 MB / 0.7975 GB, free: 1.641 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.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.LogicalSwitchCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitchCalcHelperMain.o] Error 1