Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 96.14 kB / 15.87 MB, free: 16 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.001478/0.001478, allocations: 195 kB / 16.79 MB, free: 6.812 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.772/1.772, allocations: 205.1 MB / 222.6 MB, free: 4.969 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.85/1.85, allocations: 292.3 MB / 0.5491 GB, free: 13.64 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.001478/0.001478, allocations: 70.17 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3717, allocations: 114.5 MB / 0.7834 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002315/0.3741, allocations: 0.6221 MB / 0.784 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 4.723e-05/0.3742, allocations: 4 kB / 0.784 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.3742, allocations: 4 kB / 0.784 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.476e-05/0.3743, allocations: 0 / 0.784 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.522e-05/0.3743, allocations: 0 / 0.784 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.967e-05/0.3744, allocations: 0 / 0.784 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.736e-05/0.3744, allocations: 4 kB / 0.784 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.994e-05/0.3745, allocations: 0 / 0.784 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.921e-05/0.3745, allocations: 0 / 0.784 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.618e-05/0.3745, allocations: 3.984 kB / 0.784 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.3746, allocations: 0 / 0.784 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.499e-06/0.3746, allocations: 0 / 0.784 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.3746, allocations: 0 / 0.784 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.3746, allocations: 11.94 kB / 0.784 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.643e-05/0.3747, allocations: 3.984 kB / 0.784 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3747, allocations: 7.938 kB / 0.784 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3747, allocations: 0 / 0.784 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.3747, allocations: 0 / 0.784 GB, free: 13.32 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004455/0.3752, allocations: 307.6 kB / 0.7843 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.3752, allocations: 11.97 kB / 0.7843 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.3753, allocations: 4.922 kB / 0.7843 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.3754, allocations: 164.4 kB / 0.7845 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.3754, allocations: 4.375 kB / 0.7845 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.3755, allocations: 384 / 0.7845 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.3756, allocations: 26.27 kB / 0.7845 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.3756, allocations: 192 / 0.7845 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3756, allocations: 3.938 kB / 0.7845 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3756, allocations: 4 kB / 0.7845 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.3756, allocations: 4 kB / 0.7845 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.3761, allocations: 387.4 kB / 0.7849 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.3762, allocations: 173.1 kB / 0.785 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.3763, allocations: 80.14 kB / 0.7851 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.931e-05/0.3763, allocations: 75.28 kB / 0.7852 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/0.3764, allocations: 105.9 kB / 0.7853 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3764, allocations: 8 kB / 0.7853 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.696e-05/0.3765, allocations: 37.62 kB / 0.7853 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.806e-05/0.3766, allocations: 126.7 kB / 0.7855 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/0.3767, allocations: 97.86 kB / 0.7855 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.3767, allocations: 25.7 kB / 0.7856 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.3768, allocations: 80.14 kB / 0.7857 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.3768, allocations: 0 / 0.7857 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.3768, allocations: 9.844 kB / 0.7857 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.377, allocations: 318.8 kB / 0.786 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.041e-06/0.377, allocations: 3.938 kB / 0.786 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-06/0.377, allocations: 0 / 0.786 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.875e-05/0.377, allocations: 75.28 kB / 0.786 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.501e-05/0.3771, allocations: 79.28 kB / 0.7861 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.452e-05/0.3772, allocations: 45.56 kB / 0.7862 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.3772, allocations: 79.28 kB / 0.7862 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.259e-05/0.3773, allocations: 79.28 kB / 0.7863 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.992e-05/0.3773, allocations: 150.6 kB / 0.7865 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.163e-05/0.3774, allocations: 83.22 kB / 0.7865 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.499e-05/0.3775, allocations: 150.6 kB / 0.7867 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.337e-05/0.3775, allocations: 79.22 kB / 0.7868 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.3776, allocations: 79.27 kB / 0.7868 GB, free: 10.19 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.000161/0.3777, allocations: 273.4 kB / 0.7871 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/0.3778, allocations: 102 kB / 0.7872 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.3779, allocations: 112 kB / 0.7873 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.908e-05/0.378, allocations: 176.3 kB / 0.7875 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001043/0.3781, allocations: 188.2 kB / 0.7876 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.232e-05/0.3782, allocations: 180.3 kB / 0.7878 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.3786, allocations: 405.1 kB / 0.7882 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.984e-05/0.3787, allocations: 113 kB / 0.7883 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.471e-05/0.3788, allocations: 101 kB / 0.7884 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001764/0.3789, allocations: 180.5 kB / 0.7886 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002235/0.3792, allocations: 180.3 kB / 0.7887 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.417e-05/0.3793, allocations: 188.2 kB / 0.7889 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.126e-05/0.3794, allocations: 180.3 kB / 0.7891 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.3797, allocations: 311.7 kB / 0.7894 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.3798, allocations: 178.1 kB / 0.7896 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.3801, allocations: 188.2 kB / 0.7897 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3802, allocations: 109 kB / 0.7898 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.3803, allocations: 176.3 kB / 0.79 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.2e-05/0.3804, allocations: 104.9 kB / 0.7901 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.647e-05/0.3804, allocations: 83.28 kB / 0.7902 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3804, allocations: 0 / 0.7902 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002983/0.3807, allocations: 0 / 0.7902 GB, free: 6.512 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002008/0.381, allocations: 178.6 kB / 0.7904 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.861e-05/0.381, allocations: 4 kB / 0.7904 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.381, allocations: 3.938 kB / 0.7904 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.381, allocations: 0 / 0.7904 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.3815, allocations: 0.5303 MB / 0.7909 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.3819, allocations: 175.8 kB / 0.7911 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.3822, allocations: 0.6731 MB / 0.7917 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.3822, allocations: 7.438 kB / 0.7917 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of SimCode: time 5.72e-07/0.3823, allocations: 0 / 0.7917 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of Templates: time 0.001822/0.3841, allocations: 315 kB / 0.792 GB, free: 4.562 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Sources.Validation.ConstantCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.ConstantCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.ConstantCalcHelperMain.o] Error 1