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.009313/0.009314, allocations: 99.83 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 187.6 kB / 16.79 MB, free: 5.809 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.871/1.871, allocations: 205.1 MB / 222.6 MB, free: 4.699 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.91/1.91, allocations: 292.3 MB / 0.5491 GB, free: 13.62 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.001544/0.001544, allocations: 68.98 kB / 0.6715 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3476, allocations: 114.5 MB / 0.7833 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.002452/0.3501, allocations: 0.7811 MB / 0.7841 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.352, allocations: 1.302 MB / 0.7854 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.3521, allocations: 0 / 0.7854 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.222e-05/0.3522, allocations: 3.938 kB / 0.7854 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.272e-05/0.3523, allocations: 15.91 kB / 0.7854 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008336/0.3531, allocations: 279.3 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.3533, allocations: 231.5 kB / 0.7859 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3535, allocations: 16.17 kB / 0.7859 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.3536, allocations: 87.86 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.3538, allocations: 75.77 kB / 0.7861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.41e-05/0.3538, allocations: 12 kB / 0.7861 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.3539, allocations: 27.98 kB / 0.7861 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.354, allocations: 11.92 kB / 0.7861 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.3542, allocations: 75.8 kB / 0.7862 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.3545, allocations: 159.9 kB / 0.7863 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.3545, allocations: 0 / 0.7863 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3545, allocations: 0 / 0.7863 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.3545, allocations: 0 / 0.7863 GB, free: 10.92 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.0007054/0.3552, allocations: 488.3 kB / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.3553, allocations: 12.03 kB / 0.7868 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.322e-05/0.3554, allocations: 16.84 kB / 0.7868 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.3555, allocations: 180.2 kB / 0.787 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.3555, allocations: 12.38 kB / 0.787 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.3556, allocations: 12.38 kB / 0.787 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.3558, allocations: 62.23 kB / 0.7871 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3558, allocations: 3.938 kB / 0.7871 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.3558, allocations: 3.984 kB / 0.7871 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3558, allocations: 3.938 kB / 0.7871 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.818e-05/0.3559, allocations: 23.94 kB / 0.7871 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005972/0.3565, allocations: 416.4 kB / 0.7875 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.613e-05/0.3566, allocations: 38.58 kB / 0.7875 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.923e-05/0.3566, allocations: 20.94 kB / 0.7876 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.3566, allocations: 0 / 0.7876 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.3569, allocations: 99.28 kB / 0.7877 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.3569, allocations: 0 / 0.7877 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003442/0.3572, allocations: 137.5 kB / 0.7878 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.3573, allocations: 59.48 kB / 0.7878 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.3574, allocations: 133.7 kB / 0.788 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.3575, allocations: 33.7 kB / 0.788 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/0.3576, allocations: 100.1 kB / 0.7881 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.3576, allocations: 23.66 kB / 0.7881 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.3577, allocations: 65.67 kB / 0.7882 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3579, allocations: 326.8 kB / 0.7885 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.3581, allocations: 83.95 kB / 0.7886 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.3583, allocations: 142 kB / 0.7887 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.3586, allocations: 241.7 kB / 0.7889 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3587, allocations: 0 / 0.7889 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006114/0.3593, allocations: 374.4 kB / 0.7893 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.392e-05/0.3594, allocations: 101.1 kB / 0.7894 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3594, allocations: 3.984 kB / 0.7894 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3594, allocations: 4 kB / 0.7894 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.724e-05/0.3594, allocations: 12.12 kB / 0.7894 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.3594, allocations: 0 / 0.7894 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005137/0.36, allocations: 84.17 kB / 0.7895 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.36, allocations: 23.92 kB / 0.7895 GB, free: 7.309 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.0001342/0.3602, allocations: 137.7 kB / 0.7897 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.3602, allocations: 7.906 kB / 0.7897 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.3602, allocations: 8.375 kB / 0.7897 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3602, allocations: 0 / 0.7897 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3602, allocations: 0 / 0.7897 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3602, allocations: 7.984 kB / 0.7897 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.3604, allocations: 189.5 kB / 0.7899 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3604, allocations: 0 / 0.7899 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.769e-06/0.3605, allocations: 3.938 kB / 0.7899 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3605, allocations: 0 / 0.7899 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.3605, allocations: 15.98 kB / 0.7899 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3605, allocations: 0 / 0.7899 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3605, allocations: 0 / 0.7899 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.3607, allocations: 140.9 kB / 0.79 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.3607, allocations: 85 kB / 0.7901 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.3608, allocations: 4 kB / 0.7901 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.218e-05/0.3608, allocations: 0 / 0.7901 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.3609, allocations: 15.97 kB / 0.7901 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.3609, allocations: 8 kB / 0.7901 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.534e-05/0.3609, allocations: 101.2 kB / 0.7902 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3609, allocations: 0 / 0.7902 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002717/0.3612, allocations: 40 kB / 0.7903 GB, free: 6.465 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.0001981/0.3614, allocations: 112.1 kB / 0.7904 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005012/0.3619, allocations: 362 kB / 0.7907 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.362, allocations: 4.375 kB / 0.7907 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.854e-05/0.3621, allocations: 51.91 kB / 0.7908 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.3623, allocations: 20.2 kB / 0.7908 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.3628, allocations: 230.4 kB / 0.791 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.3631, allocations: 0.6926 MB / 0.7917 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.3632, allocations: 19.44 kB / 0.7917 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.3632, allocations: 0 / 0.7917 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of Templates: time 0.003921/0.3671, allocations: 1.869 MB / 0.7935 GB, free: 3.035 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