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.001277/0.001277, 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.001618/0.001618, allocations: 196.2 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.805/1.805, allocations: 205.1 MB / 222.6 MB, free: 4.766 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.843/1.843, allocations: 292.3 MB / 0.5491 GB, free: 13.65 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.00147/0.00147, allocations: 68.12 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3758, allocations: 114.5 MB / 0.7833 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.002829/0.3787, allocations: 0.7593 MB / 0.7841 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.3801, allocations: 0.801 MB / 0.7849 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.3801, allocations: 0 / 0.7849 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.434e-05/0.3802, allocations: 0 / 0.7849 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.3803, allocations: 11.92 kB / 0.7849 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.828e-05/0.3804, allocations: 19.92 kB / 0.7849 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.3805, allocations: 39.86 kB / 0.7849 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.3807, allocations: 7.984 kB / 0.7849 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.27e-05/0.3808, allocations: 11.94 kB / 0.785 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.895e-05/0.3809, allocations: 23.91 kB / 0.785 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.3809, allocations: 0 / 0.785 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.93e-05/0.3809, allocations: 7.938 kB / 0.785 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.381, allocations: 4 kB / 0.785 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.381, allocations: 23.86 kB / 0.785 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.603e-05/0.3811, allocations: 31.94 kB / 0.785 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.3811, allocations: 4 kB / 0.7851 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3811, allocations: 0 / 0.7851 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3812, allocations: 0 / 0.7851 GB, free: 12.25 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.0007381/0.3819, allocations: 355.7 kB / 0.7854 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.382, allocations: 8.031 kB / 0.7854 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.718e-05/0.382, allocations: 12.84 kB / 0.7854 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.3823, allocations: 176.2 kB / 0.7856 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3823, allocations: 8.312 kB / 0.7856 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3823, allocations: 4.359 kB / 0.7856 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.3826, allocations: 70.22 kB / 0.7857 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3827, allocations: 192 / 0.7857 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3827, allocations: 3.938 kB / 0.7857 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3827, allocations: 4 kB / 0.7857 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.383, allocations: 67.92 kB / 0.7857 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.3835, allocations: 261 kB / 0.786 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.3837, allocations: 66.42 kB / 0.786 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.3839, allocations: 36.91 kB / 0.7861 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.3839, allocations: 0 / 0.7861 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.384, allocations: 34.56 kB / 0.7861 GB, free: 11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.384, allocations: 0 / 0.7861 GB, free: 11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0006136/0.3846, allocations: 125.6 kB / 0.7862 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.3847, allocations: 59.33 kB / 0.7863 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.3848, allocations: 105.9 kB / 0.7864 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.3849, allocations: 25.7 kB / 0.7864 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.839e-05/0.3849, allocations: 92.03 kB / 0.7865 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.385, allocations: 7.906 kB / 0.7865 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.385, allocations: 17.72 kB / 0.7865 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.3853, allocations: 322.8 kB / 0.7868 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.3854, allocations: 31.97 kB / 0.7869 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.3856, allocations: 27.97 kB / 0.7869 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.3859, allocations: 72.78 kB / 0.787 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3859, allocations: 3.938 kB / 0.787 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003219/0.3862, allocations: 97.56 kB / 0.7871 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.3862, allocations: 4 kB / 0.7871 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3863, allocations: 3.984 kB / 0.7871 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.3863, allocations: 4 kB / 0.7871 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.3865, allocations: 15.98 kB / 0.7871 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.3865, allocations: 0 / 0.7871 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.965e-05/0.3866, allocations: 19.83 kB / 0.7871 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3866, allocations: 0 / 0.7871 GB, free: 9.918 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 0.0001315/0.3867, allocations: 114.4 kB / 0.7872 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.3868, allocations: 4 kB / 0.7872 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.3868, allocations: 7.891 kB / 0.7872 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3868, allocations: 4 kB / 0.7872 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.3868, allocations: 0 / 0.7872 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3868, allocations: 0 / 0.7872 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.3871, allocations: 173.5 kB / 0.7874 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3871, allocations: 336 / 0.7874 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.302e-05/0.3872, allocations: 15.98 kB / 0.7874 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3872, allocations: 3.984 kB / 0.7874 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.3872, allocations: 0 / 0.7874 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3872, allocations: 0 / 0.7874 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.3872, allocations: 8 kB / 0.7874 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.3877, allocations: 207.2 kB / 0.7876 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.129e-05/0.3878, allocations: 77.11 kB / 0.7877 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.3878, allocations: 0 / 0.7877 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.3879, allocations: 15.97 kB / 0.7877 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.388, allocations: 4 kB / 0.7877 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.388, allocations: 8 kB / 0.7877 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.366e-05/0.3881, allocations: 83.27 kB / 0.7878 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3881, allocations: 0 / 0.7878 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002251/0.3883, allocations: 12 kB / 0.7878 GB, free: 9.098 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.0002823/0.3886, allocations: 95.25 kB / 0.7879 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003692/0.389, allocations: 79.8 kB / 0.788 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.389, allocations: 0 / 0.788 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.3892, allocations: 35.95 kB / 0.788 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.3896, allocations: 7.938 kB / 0.788 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.3901, allocations: 160.9 kB / 0.7882 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.3907, allocations: 0.6848 MB / 0.7888 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.3907, allocations: 7.438 kB / 0.7888 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.3907, allocations: 0 / 0.7888 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of Templates: time 0.003016/0.3938, allocations: 0.7442 MB / 0.7896 GB, free: 7.23 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