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.001069/0.00107, allocations: 91.92 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.001674/0.001675, allocations: 180.2 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.881/1.881, allocations: 205.4 MB / 223.1 MB, free: 5.793 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.939/1.939, 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.0007465/0.0007467, allocations: 26.53 kB / 0.675 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3373, allocations: 116.3 MB / 0.7886 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.001046/0.3384, allocations: 450.2 kB / 0.789 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.3402, allocations: 1.286 MB / 0.7902 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/0.3402, allocations: 0 / 0.7902 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.509e-05/0.3403, allocations: 11.92 kB / 0.7903 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.842e-05/0.3404, allocations: 11.92 kB / 0.7903 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007926/0.3412, allocations: 300.2 kB / 0.7906 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.3414, allocations: 223.6 kB / 0.7908 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3416, allocations: 8.188 kB / 0.7908 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.3417, allocations: 91.8 kB / 0.7909 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.3419, allocations: 67.78 kB / 0.7909 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.3419, allocations: 12 kB / 0.7909 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.15e-05/0.342, allocations: 27.97 kB / 0.791 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.342, allocations: 11.98 kB / 0.791 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.3422, allocations: 105.4 kB / 0.7911 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.3424, allocations: 147.9 kB / 0.7912 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3424, allocations: 4 kB / 0.7912 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.727e-06/0.3424, allocations: 7.938 kB / 0.7912 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3424, allocations: 0 / 0.7912 GB, free: 8.836 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.0007689/0.3432, allocations: 444.4 kB / 0.7916 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.3433, allocations: 12.03 kB / 0.7917 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.815e-05/0.3433, allocations: 20.83 kB / 0.7917 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.3435, allocations: 172.2 kB / 0.7918 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.3436, allocations: 8.375 kB / 0.7919 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/0.3436, allocations: 16.38 kB / 0.7919 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.3438, allocations: 66.2 kB / 0.7919 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3438, allocations: 3.938 kB / 0.7919 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3438, allocations: 0 / 0.7919 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.3438, allocations: 0 / 0.7919 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.514e-05/0.3439, allocations: 23.94 kB / 0.792 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006116/0.3445, allocations: 412.5 kB / 0.7924 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.918e-05/0.3446, allocations: 38.56 kB / 0.7924 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.821e-05/0.3446, allocations: 16.86 kB / 0.7924 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.3447, allocations: 0 / 0.7924 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.3449, allocations: 107.3 kB / 0.7925 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.3449, allocations: 0 / 0.7925 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003248/0.3452, allocations: 137.5 kB / 0.7926 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.3453, allocations: 59.41 kB / 0.7927 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.3454, allocations: 132.9 kB / 0.7928 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.769e-05/0.3455, allocations: 33.7 kB / 0.7929 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.507e-05/0.3456, allocations: 108 kB / 0.793 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.3456, allocations: 19.75 kB / 0.793 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-05/0.3457, allocations: 33.7 kB / 0.793 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3459, allocations: 322.8 kB / 0.7933 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.3461, allocations: 87.95 kB / 0.7934 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.3463, allocations: 137.9 kB / 0.7935 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.3467, allocations: 238 kB / 0.7938 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3467, allocations: 0 / 0.7938 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006815/0.3473, allocations: 382.3 kB / 0.7941 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.805e-05/0.3474, allocations: 97.09 kB / 0.7942 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.3475, allocations: 4.375 kB / 0.7942 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3475, allocations: 4.172 kB / 0.7942 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.43e-05/0.3475, allocations: 8 kB / 0.7942 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3475, allocations: 4 kB / 0.7942 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006079/0.3481, allocations: 107.8 kB / 0.7943 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.3482, allocations: 23.97 kB / 0.7944 GB, free: 5.289 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,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.3483, allocations: 138.4 kB / 0.7945 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.3484, allocations: 11.91 kB / 0.7945 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.3484, allocations: 8.375 kB / 0.7945 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3484, allocations: 0 / 0.7945 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3484, allocations: 0 / 0.7945 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3484, allocations: 3.984 kB / 0.7945 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.3486, allocations: 201.4 kB / 0.7947 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3486, allocations: 0 / 0.7947 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.397e-05/0.3486, allocations: 4 kB / 0.7947 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3487, allocations: 3.984 kB / 0.7947 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3487, allocations: 7.984 kB / 0.7947 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3487, allocations: 4 kB / 0.7947 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3487, allocations: 0 / 0.7947 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.3489, allocations: 136.9 kB / 0.7949 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.349, allocations: 85.02 kB / 0.7949 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.349, allocations: 3.984 kB / 0.7949 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.354e-05/0.349, allocations: 4 kB / 0.7949 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.3491, allocations: 11.98 kB / 0.795 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.3491, allocations: 4 kB / 0.795 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001313/0.3492, allocations: 95.27 kB / 0.7951 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3492, allocations: 7.875 kB / 0.7951 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002593/0.3495, allocations: 44 kB / 0.7951 GB, free: 4.434 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 (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.0002026/0.3497, allocations: 107.2 kB / 0.7952 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005559/0.3503, allocations: 366 kB / 0.7956 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.3503, allocations: 4.375 kB / 0.7956 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.716e-05/0.3504, allocations: 39.92 kB / 0.7956 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.3506, allocations: 24.2 kB / 0.7956 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.3511, allocations: 237.2 kB / 0.7958 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.3514, allocations: 0.7004 MB / 0.7965 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.3514, allocations: 11.44 kB / 0.7965 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of SimCode: time 6.91e-07/0.3514, allocations: 0 / 0.7965 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of Templates: time 0.003837/0.3553, allocations: 1.861 MB / 0.7984 GB, free: 1.008 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++ -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.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