Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001837/0.001837, 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.002426/0.002426, allocations: 194.1 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.847/1.847, allocations: 205.1 MB / 222.6 MB, free: 4.816 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.944/1.944, allocations: 292.3 MB / 0.5491 GB, free: 13.66 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.001408/0.001408, allocations: 70.28 kB / 0.6715 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3268, allocations: 114.5 MB / 0.7834 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.002407/0.3292, allocations: 0.6491 MB / 0.784 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 5.21e-05/0.3293, allocations: 4 kB / 0.784 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.3294, allocations: 0 / 0.784 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.276e-05/0.3294, allocations: 0 / 0.784 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.72e-05/0.3295, allocations: 0 / 0.784 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.313e-05/0.3295, allocations: 7.938 kB / 0.784 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.635e-05/0.3296, allocations: 4 kB / 0.784 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.898e-05/0.3297, allocations: 7.984 kB / 0.784 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.893e-05/0.3297, allocations: 0 / 0.784 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.333e-05/0.3297, allocations: 0 / 0.784 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.3297, allocations: 0 / 0.784 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.871e-06/0.3297, allocations: 0 / 0.784 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.3298, allocations: 3.938 kB / 0.784 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.88e-05/0.3298, allocations: 0 / 0.784 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.327e-05/0.3299, allocations: 0 / 0.784 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.3299, allocations: 4 kB / 0.784 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3299, allocations: 4 kB / 0.784 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3299, allocations: 0 / 0.784 GB, free: 13.29 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.0004058/0.3303, allocations: 315.6 kB / 0.7843 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3303, allocations: 8.031 kB / 0.7843 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.3304, allocations: 0.9375 kB / 0.7843 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.3305, allocations: 160.4 kB / 0.7845 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3306, allocations: 384 / 0.7845 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.3306, allocations: 384 / 0.7845 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.3307, allocations: 30.27 kB / 0.7845 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3307, allocations: 4.188 kB / 0.7845 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.3307, allocations: 3.938 kB / 0.7845 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3307, allocations: 3.938 kB / 0.7845 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.276e-05/0.3308, allocations: 4 kB / 0.7845 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.3312, allocations: 379.4 kB / 0.7849 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.3313, allocations: 177.1 kB / 0.7851 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.3314, allocations: 80.14 kB / 0.7851 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.3314, allocations: 87.2 kB / 0.7852 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.3315, allocations: 105.9 kB / 0.7853 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.3315, allocations: 0 / 0.7853 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.992e-05/0.3315, allocations: 29.7 kB / 0.7854 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.703e-05/0.3316, allocations: 138.6 kB / 0.7855 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3317, allocations: 89.86 kB / 0.7856 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.3318, allocations: 25.7 kB / 0.7856 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.3318, allocations: 88.14 kB / 0.7857 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.3318, allocations: 3.938 kB / 0.7857 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/0.3318, allocations: 9.719 kB / 0.7857 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.332, allocations: 314.8 kB / 0.786 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.864e-06/0.332, allocations: 4 kB / 0.786 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-06/0.332, allocations: 8.062 kB / 0.786 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.563e-05/0.3321, allocations: 75.28 kB / 0.7861 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.995e-05/0.3321, allocations: 79.28 kB / 0.7861 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.497e-05/0.3322, allocations: 29.64 kB / 0.7862 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.715e-05/0.3323, allocations: 79.28 kB / 0.7863 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-05/0.3323, allocations: 79.28 kB / 0.7863 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.953e-05/0.3324, allocations: 154.5 kB / 0.7865 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.882e-05/0.3324, allocations: 83.28 kB / 0.7866 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.077e-05/0.3325, allocations: 162.5 kB / 0.7867 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.572e-05/0.3326, allocations: 79.28 kB / 0.7868 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.3326, allocations: 75.28 kB / 0.7869 GB, free: 10.15 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.0001539/0.3328, allocations: 264.3 kB / 0.7871 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.3329, allocations: 106 kB / 0.7872 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.119e-05/0.3329, allocations: 112.1 kB / 0.7873 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.933e-05/0.333, allocations: 184.2 kB / 0.7875 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.725e-05/0.3331, allocations: 176.3 kB / 0.7877 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.978e-05/0.3332, allocations: 184.2 kB / 0.7878 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.3335, allocations: 405.2 kB / 0.7882 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.833e-05/0.3336, allocations: 109 kB / 0.7883 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.3336, allocations: 104.9 kB / 0.7884 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9e-05/0.3337, allocations: 180.6 kB / 0.7886 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.3338, allocations: 180.2 kB / 0.7888 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-05/0.3339, allocations: 180.2 kB / 0.7889 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.218e-05/0.334, allocations: 188.3 kB / 0.7891 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.3342, allocations: 307.7 kB / 0.7894 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.3343, allocations: 190 kB / 0.7896 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.061e-05/0.3344, allocations: 176.3 kB / 0.7898 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3345, allocations: 105 kB / 0.7899 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.3346, allocations: 184.2 kB / 0.79 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-05/0.3347, allocations: 105 kB / 0.7901 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.338e-05/0.3347, allocations: 75.28 kB / 0.7902 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.335e-06/0.3347, allocations: 0 / 0.7902 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002612/0.335, allocations: 7.938 kB / 0.7902 GB, free: 6.477 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.0001951/0.3352, allocations: 174.5 kB / 0.7904 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.561e-05/0.3353, allocations: 11.97 kB / 0.7904 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3353, allocations: 0 / 0.7904 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.3353, allocations: 4 kB / 0.7904 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.3357, allocations: 0.5254 MB / 0.7909 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.336, allocations: 171.8 kB / 0.7911 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.3364, allocations: 0.6809 MB / 0.7917 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.3364, allocations: 7.438 kB / 0.7918 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.3364, allocations: 0 / 0.7918 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of Templates: time 0.001588/0.338, allocations: 319.8 kB / 0.7921 GB, free: 4.52 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.ConstantCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.ConstantCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.ConstantCalcHelperMain.o] Error 1