Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_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.001084/0.001084, allocations: 102.2 kB / 15.71 MB, free: 460 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.001448/0.001448, allocations: 175.4 kB / 16.58 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.763/2.763, allocations: 436.7 MB / 0.7113 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006/0.0006002, allocations: 15.98 kB / 0.8717 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8698/0.8705, allocations: 153.6 MB / 1.022 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001342/0.8719, allocations: 0.9876 MB / 1.023 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003623/0.8755, allocations: 3.036 MB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.8755, allocations: 0 / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.8756, allocations: 3.984 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.57e-05/0.8756, allocations: 7.922 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.8761, allocations: 79.69 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.557e-05/0.8761, allocations: 35.86 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.8762, allocations: 3.984 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.434e-05/0.8762, allocations: 19.94 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.8763, allocations: 15.97 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.8763, allocations: 4 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.8765, allocations: 59.77 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.8766, allocations: 11.92 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.8766, allocations: 29.7 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.8767, allocations: 33.92 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8767, allocations: 4 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8767, allocations: 4 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.8768, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.7794 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.0003755/0.8771, allocations: 343.2 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.8772, allocations: 11.98 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.8773, allocations: 4 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.8774, allocations: 163.1 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.8775, allocations: 11.94 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.8775, allocations: 4 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.8776, allocations: 57.61 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.8776, allocations: 4 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.8777, allocations: 4 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.8777, allocations: 0 / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.083e-05/0.8777, allocations: 19.97 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.8779, allocations: 169.6 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.878, allocations: 54.5 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.8781, allocations: 24.8 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007628/0.8788, allocations: 0.583 MB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.8789, allocations: 34.56 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.8789, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0005974/0.8795, allocations: 306.5 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.8796, allocations: 51.41 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.356e-05/0.8796, allocations: 97.81 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.8797, allocations: 33.7 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/0.8797, allocations: 84.05 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.8797, allocations: 27.64 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.8798, allocations: 0 / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.8799, allocations: 318.8 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.955e-05/0.8799, allocations: 16 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.958e-05/0.88, allocations: 60.95 kB / 1.028 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.236e-05/0.88, allocations: 20 kB / 1.028 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.88, allocations: 0 / 1.028 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001329/0.8802, allocations: 97.45 kB / 1.028 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.8802, allocations: 6.031 kB / 1.028 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.8802, allocations: 4 kB / 1.028 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.274e-05/0.8803, allocations: 0 / 1.028 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/0.8803, allocations: 27.92 kB / 1.028 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.8804, allocations: 3.938 kB / 1.028 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.8804, allocations: 11.95 kB / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.8804, allocations: 4 kB / 1.028 GB, free: 9.762 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.8805, allocations: 114 kB / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.8806, allocations: 4 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.8806, allocations: 8.25 kB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.8806, allocations: 0 / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.8806, allocations: 7.984 kB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.8806, allocations: 3.984 kB / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.8809, allocations: 173.6 kB / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8809, allocations: 448 / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.19e-05/0.881, allocations: 19.94 kB / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.881, allocations: 0 / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.881, allocations: 8 kB / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.881, allocations: 4 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.881, allocations: 0 / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.8812, allocations: 179.4 kB / 1.029 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.8813, allocations: 85.14 kB / 1.029 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.8813, allocations: 0 / 1.029 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/0.8814, allocations: 4 kB / 1.029 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.8814, allocations: 4 kB / 1.029 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.8814, allocations: 7.984 kB / 1.029 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.201e-05/0.8815, allocations: 79.28 kB / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.453e-06/0.8815, allocations: 0 / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002327/0.8817, allocations: 19.94 kB / 1.029 GB, free: 8.961 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001308/0.8818, allocations: 99.19 kB / 1.029 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.882, allocations: 43.86 kB / 1.029 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.882, allocations: 8.25 kB / 1.029 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.439e-05/0.882, allocations: 15.98 kB / 1.029 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.8823, allocations: 7.953 kB / 1.029 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006226/0.8829, allocations: 412.4 kB / 1.03 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.8832, allocations: 0.687 MB / 1.03 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.8832, allocations: 15.38 kB / 1.03 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.8832, allocations: 0 / 1.03 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of Templates: time 0.002199/0.8854, allocations: 0.7576 MB / 1.031 GB, free: 6.863 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.makefile make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Media.Examples.WaterDerivativeCheckCalcHelperMain.o OMCppBuildings_latest_Buildings.Media.Examples.WaterDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Media.Examples.WaterDerivativeCheckCalcHelperMain.o] Error 1