Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.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.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 97.39 kB / 16.02 MB, free: 72 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.001403/0.001403, allocations: 179 kB / 16.92 MB, free: 6.914 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.874/1.874, allocations: 205.4 MB / 223.1 MB, free: 5.742 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.93/1.93, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.000547/0.0005471, allocations: 22.62 kB / 0.675 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3244, allocations: 116.3 MB / 0.7886 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.001105/0.3256, allocations: 438.5 kB / 0.789 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009574/0.3265, allocations: 0.7971 MB / 0.7898 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.3266, allocations: 4 kB / 0.7898 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.887e-05/0.3266, allocations: 0 / 0.7898 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.467e-05/0.3267, allocations: 3.938 kB / 0.7898 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.289e-05/0.3268, allocations: 11.98 kB / 0.7898 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.284e-05/0.3269, allocations: 47.8 kB / 0.7898 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.327, allocations: 15.98 kB / 0.7898 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.519e-05/0.3271, allocations: 7.938 kB / 0.7898 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.3272, allocations: 19.91 kB / 0.7899 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.3272, allocations: 4 kB / 0.7899 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.3272, allocations: 0 / 0.7899 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.3273, allocations: 8 kB / 0.7899 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.32e-05/0.3273, allocations: 41.56 kB / 0.7899 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.181e-05/0.3274, allocations: 31.92 kB / 0.7899 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3274, allocations: 0 / 0.7899 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3274, allocations: 4 kB / 0.7899 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.86e-06/0.3274, allocations: 0 / 0.7899 GB, free: 10.11 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006616/0.3281, allocations: 363.7 kB / 0.7903 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.3281, allocations: 11.97 kB / 0.7903 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.3282, allocations: 12.84 kB / 0.7903 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.3284, allocations: 168.3 kB / 0.7905 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.3284, allocations: 8.375 kB / 0.7905 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.3284, allocations: 4.312 kB / 0.7905 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.3287, allocations: 78.22 kB / 0.7906 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3287, allocations: 4.188 kB / 0.7906 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.3287, allocations: 3.938 kB / 0.7906 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3287, allocations: 0 / 0.7906 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.3291, allocations: 87.92 kB / 0.7907 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.3295, allocations: 260.9 kB / 0.7909 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.3297, allocations: 74.42 kB / 0.791 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.3299, allocations: 48.91 kB / 0.791 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.3299, allocations: 8 kB / 0.791 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.457e-05/0.33, allocations: 30.56 kB / 0.7911 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.33, allocations: 0 / 0.7911 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005738/0.3306, allocations: 161.6 kB / 0.7912 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.3307, allocations: 59.34 kB / 0.7913 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3308, allocations: 109.8 kB / 0.7914 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3308, allocations: 25.7 kB / 0.7914 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.3309, allocations: 88.05 kB / 0.7915 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.3309, allocations: 7.906 kB / 0.7915 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.331, allocations: 9.719 kB / 0.7915 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3311, allocations: 318.8 kB / 0.7918 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.3313, allocations: 47.91 kB / 0.7919 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.3314, allocations: 43.95 kB / 0.7919 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.3317, allocations: 89.06 kB / 0.792 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.3317, allocations: 11.94 kB / 0.792 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003364/0.3321, allocations: 117.6 kB / 0.7921 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.3321, allocations: 11.98 kB / 0.7921 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3321, allocations: 0 / 0.7921 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3321, allocations: 0 / 0.7921 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.3323, allocations: 19.98 kB / 0.7921 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3323, allocations: 0 / 0.7921 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.181e-05/0.3324, allocations: 19.98 kB / 0.7922 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.3324, allocations: 0 / 0.7922 GB, free: 7.625 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 (3): * Single equations (assignments): 3 * 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 9.138e-05/0.3325, allocations: 113.8 kB / 0.7923 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.3325, allocations: 7.906 kB / 0.7923 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.3326, allocations: 7.891 kB / 0.7923 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3326, allocations: 0 / 0.7923 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3326, allocations: 0 / 0.7923 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.3326, allocations: 8 kB / 0.7923 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.3328, allocations: 177.5 kB / 0.7925 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3329, allocations: 4 kB / 0.7925 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.452e-05/0.3329, allocations: 19.97 kB / 0.7925 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.333, allocations: 4 kB / 0.7925 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.333, allocations: 0 / 0.7925 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.333, allocations: 0 / 0.7925 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.333, allocations: 0 / 0.7925 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.3335, allocations: 223.4 kB / 0.7927 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.3335, allocations: 81.02 kB / 0.7928 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.3335, allocations: 0 / 0.7928 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3337, allocations: 19.97 kB / 0.7928 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.3337, allocations: 8 kB / 0.7928 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.3337, allocations: 0 / 0.7928 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.22e-05/0.3338, allocations: 91.56 kB / 0.7929 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3338, allocations: 4 kB / 0.7929 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002154/0.334, allocations: 8 kB / 0.7929 GB, free: 6.766 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 (3): * Single equations (assignments): 3 * 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.000156/0.3342, allocations: 99.25 kB / 0.793 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003712/0.3345, allocations: 91.86 kB / 0.7931 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3346, allocations: 3.938 kB / 0.7931 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.3347, allocations: 51.95 kB / 0.7931 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.335, allocations: 7.938 kB / 0.7931 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.3355, allocations: 161.5 kB / 0.7933 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.3358, allocations: 0.677 MB / 0.794 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.3359, allocations: 15.44 kB / 0.794 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.3359, allocations: 0 / 0.794 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of Templates: time 0.002177/0.3381, allocations: 0.7469 MB / 0.7947 GB, free: 4.867 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.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.Validation.ProductCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.ProductCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.ProductCalcHelperMain.o] Error 1