Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.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.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009198/0.0009196, allocations: 92.16 kB / 16.02 MB, free: 80 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.001166/0.001166, allocations: 173.2 kB / 16.92 MB, free: 6.652 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.869/1.869, allocations: 205.4 MB / 223.1 MB, free: 5.555 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.862/1.862, 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.0005654/0.0005654, allocations: 11.81 kB / 0.6749 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2966, allocations: 116.3 MB / 0.7885 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001546/0.2983, allocations: 0.9858 MB / 0.7895 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003922/0.3022, allocations: 3.204 MB / 0.7926 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.625e-05/0.3022, allocations: 3.938 kB / 0.7926 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.3023, allocations: 0 / 0.7926 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.3024, allocations: 7.922 kB / 0.7926 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.3029, allocations: 91.61 kB / 0.7927 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.069e-05/0.303, allocations: 31.92 kB / 0.7927 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.3031, allocations: 4 kB / 0.7927 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.192e-05/0.3031, allocations: 23.86 kB / 0.7928 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.97e-05/0.3032, allocations: 23.91 kB / 0.7928 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.3032, allocations: 4 kB / 0.7928 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.3035, allocations: 75.8 kB / 0.7929 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.3035, allocations: 4 kB / 0.7929 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.3036, allocations: 45.62 kB / 0.7929 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.3037, allocations: 44.16 kB / 0.793 GB, free: 7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3037, allocations: 0 / 0.793 GB, free: 7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3037, allocations: 0 / 0.793 GB, free: 7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.3037, allocations: 0 / 0.793 GB, free: 7 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.0004607/0.3042, allocations: 343.5 kB / 0.7933 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.3043, allocations: 8.031 kB / 0.7933 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.3044, allocations: 4.938 kB / 0.7933 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.3045, allocations: 164.3 kB / 0.7934 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.3046, allocations: 12.31 kB / 0.7935 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.3046, allocations: 4.375 kB / 0.7935 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.3047, allocations: 61.78 kB / 0.7935 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3048, allocations: 4 kB / 0.7935 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3048, allocations: 0 / 0.7935 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3048, allocations: 0 / 0.7935 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.575e-05/0.3049, allocations: 23.97 kB / 0.7936 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.305, allocations: 157.7 kB / 0.7937 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.653e-05/0.3052, allocations: 54.48 kB / 0.7938 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.3052, allocations: 20.8 kB / 0.7938 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008126/0.306, allocations: 0.5987 MB / 0.7944 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.306, allocations: 30.56 kB / 0.7944 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3061, allocations: 4 kB / 0.7944 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006845/0.3067, allocations: 298.7 kB / 0.7947 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.3068, allocations: 55.41 kB / 0.7947 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.67e-05/0.3069, allocations: 101.8 kB / 0.7948 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.3069, allocations: 25.7 kB / 0.7949 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.307, allocations: 88.05 kB / 0.7949 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.307, allocations: 31.48 kB / 0.795 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.307, allocations: 17.72 kB / 0.795 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3072, allocations: 326.8 kB / 0.7953 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.3072, allocations: 15.94 kB / 0.7953 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.109e-05/0.3073, allocations: 57.14 kB / 0.7954 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.741e-05/0.3074, allocations: 69.08 kB / 0.7954 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3074, allocations: 4 kB / 0.7954 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001378/0.3075, allocations: 93.55 kB / 0.7955 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3075, allocations: 8 kB / 0.7955 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3076, allocations: 0 / 0.7955 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3076, allocations: 4 kB / 0.7955 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.516e-05/0.3077, allocations: 23.92 kB / 0.7956 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3077, allocations: 0 / 0.7956 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.704e-05/0.3077, allocations: 7.938 kB / 0.7956 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.3077, allocations: 4 kB / 0.7956 GB, free: 3.91 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.77e-05/0.3078, allocations: 121.9 kB / 0.7957 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.3079, allocations: 3.906 kB / 0.7957 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/0.3079, allocations: 11.97 kB / 0.7957 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.3079, allocations: 0 / 0.7957 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3079, allocations: 3.938 kB / 0.7957 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.3079, allocations: 3.938 kB / 0.7957 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.3082, allocations: 177.7 kB / 0.7959 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3082, allocations: 0 / 0.7959 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.294e-05/0.3083, allocations: 15.98 kB / 0.7959 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3083, allocations: 4 kB / 0.7959 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.3083, allocations: 4 kB / 0.7959 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3083, allocations: 0 / 0.7959 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3083, allocations: 0 / 0.7959 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.3085, allocations: 167.5 kB / 0.7961 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.3086, allocations: 89.02 kB / 0.7961 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.3086, allocations: 48 / 0.7961 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3087, allocations: 11.92 kB / 0.7962 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.3087, allocations: 4 kB / 0.7962 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.3087, allocations: 7.938 kB / 0.7962 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.64e-05/0.3088, allocations: 87.64 kB / 0.7962 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3088, allocations: 0 / 0.7962 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000231/0.309, allocations: 8 kB / 0.7963 GB, free: 3.109 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001871/0.3092, allocations: 107.4 kB / 0.7964 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.3094, allocations: 44.03 kB / 0.7964 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3094, allocations: 0 / 0.7964 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.833e-05/0.3094, allocations: 19.94 kB / 0.7964 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.3097, allocations: 16.14 kB / 0.7964 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006406/0.3103, allocations: 420.2 kB / 0.7968 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.3107, allocations: 0.6837 MB / 0.7975 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.3107, allocations: 11.44 kB / 0.7975 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.3108, allocations: 4 kB / 0.7975 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.002438/0.3132, allocations: 0.7617 MB / 0.7983 GB, free: 0.9844 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.makefile make -j1 -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.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.Media.Examples.WaterDerivativeCheckCalcHelperMain.o OMCppBuildings_8_Buildings.Media.Examples.WaterDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Media.Examples.WaterDerivativeCheckCalcHelperMain.o] Error 1