Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0008827/0.0008827, allocations: 103 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.001028/0.001029, allocations: 180.2 kB / 16.59 MB, free: 6.148 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.519/1.519, allocations: 223.3 MB / 240.6 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.608/2.608, allocations: 390.5 MB / 0.6662 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003663, allocations: 12 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8508/0.8512, allocations: 142.3 MB / 0.9544 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001291/0.8525, allocations: 0.9809 MB / 0.9554 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00341/0.8559, allocations: 3.045 MB / 0.9583 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.856, allocations: 4 kB / 0.9583 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.856, allocations: 13.14 kB / 0.9583 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.36e-05/0.8561, allocations: 0 / 0.9583 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.8565, allocations: 83.66 kB / 0.9584 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.974e-05/0.8566, allocations: 35.47 kB / 0.9585 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.8566, allocations: 1.625 kB / 0.9585 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.329e-05/0.8567, allocations: 20.92 kB / 0.9585 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.8567, allocations: 14.86 kB / 0.9585 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.8568, allocations: 5.375 kB / 0.9585 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.857, allocations: 57.39 kB / 0.9586 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.857, allocations: 7.734 kB / 0.9586 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.857, allocations: 33.05 kB / 0.9586 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.8572, allocations: 35.8 kB / 0.9586 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8572, allocations: 0 / 0.9586 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8572, allocations: 1.062 kB / 0.9586 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.8572, allocations: 0 / 0.9586 GB, free: 4.672 MB / 0.7169 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.000356/0.8576, allocations: 338.5 kB / 0.959 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.8576, allocations: 13.06 kB / 0.959 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.429e-05/0.8577, allocations: 8.188 kB / 0.959 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.661e-05/0.8578, allocations: 160.5 kB / 0.9591 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.8578, allocations: 1.406 kB / 0.9591 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.8578, allocations: 13.17 kB / 0.9591 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.858, allocations: 47.83 kB / 0.9592 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.858, allocations: 0 / 0.9592 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.858, allocations: 13.47 kB / 0.9592 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.858, allocations: 9.297 kB / 0.9592 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.201e-05/0.8581, allocations: 21.73 kB / 0.9592 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.8583, allocations: 166 kB / 0.9594 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.457e-05/0.8583, allocations: 50.86 kB / 0.9594 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.8584, allocations: 16.39 kB / 0.9595 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005666/0.859, allocations: 0.5916 MB / 0.96 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.859, allocations: 48.27 kB / 0.9601 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.859, allocations: 0 / 0.9601 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.00052/0.8595, allocations: 293.8 kB / 0.9604 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.8596, allocations: 52.66 kB / 0.9604 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.622e-05/0.8596, allocations: 93.48 kB / 0.9605 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.8596, allocations: 31.14 kB / 0.9605 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.051e-05/0.8597, allocations: 89.59 kB / 0.9606 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.8597, allocations: 26.56 kB / 0.9606 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.8597, allocations: 0 / 0.9606 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.175e-05/0.8598, allocations: 320.2 kB / 0.9609 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.738e-05/0.8598, allocations: 11.91 kB / 0.961 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.641e-05/0.8598, allocations: 52.67 kB / 0.961 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.373e-05/0.8599, allocations: 27.06 kB / 0.961 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8599, allocations: 3.953 kB / 0.961 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001277/0.86, allocations: 93.8 kB / 0.9611 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.8601, allocations: 6.875 kB / 0.9611 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.8601, allocations: 0 / 0.9611 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.8601, allocations: 7.719 kB / 0.9611 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.768e-05/0.8602, allocations: 24.05 kB / 0.9612 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.8602, allocations: 2.188 kB / 0.9612 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.763e-05/0.8602, allocations: 5.812 kB / 0.9612 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.8602, allocations: 4.281 kB / 0.9612 GB, free: 1.977 MB / 0.7169 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 6.227e-05/0.8603, allocations: 116.5 kB / 0.9613 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.8603, allocations: 6.734 kB / 0.9613 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.8604, allocations: 11.95 kB / 0.9613 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.8604, allocations: 1.25 kB / 0.9613 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8604, allocations: 4.906 kB / 0.9613 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.8604, allocations: 0 / 0.9613 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.8606, allocations: 178.2 kB / 0.9615 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8606, allocations: 0 / 0.9615 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.221e-05/0.8607, allocations: 17.58 kB / 0.9615 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.8607, allocations: 5.312 kB / 0.9615 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.8607, allocations: 0 / 0.9615 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.8607, allocations: 1.312 kB / 0.9615 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8607, allocations: 0 / 0.9615 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.8609, allocations: 177 kB / 0.9617 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.861, allocations: 83.39 kB / 0.9617 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.861, allocations: 9 kB / 0.9618 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/0.8611, allocations: 6.156 kB / 0.9618 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.8611, allocations: 6.141 kB / 0.9618 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.8611, allocations: 2.188 kB / 0.9618 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.505e-05/0.8611, allocations: 77.38 kB / 0.9618 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8611, allocations: 0 / 0.9618 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002337/0.8614, allocations: 14.94 kB / 0.9619 GB, free: 1.266 MB / 0.7169 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.0001591/0.8615, allocations: 105.3 kB / 0.962 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.8617, allocations: 44.89 kB / 0.962 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8617, allocations: 0 / 0.962 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.654e-05/0.8617, allocations: 23.56 kB / 0.962 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.862, allocations: 4.812 kB / 0.962 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005629/0.8626, allocations: 423.1 kB / 0.9624 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.8627, allocations: 0.6865 MB / 0.9631 GB, free: 60 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.8628, allocations: 11.38 kB / 0.9631 GB, free: 52 kB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.8628, allocations: 0 / 0.9631 GB, free: 52 kB / 0.7169 GB Notification: Performance of Templates: time 0.002273/0.865, allocations: 0.7481 MB / 0.9638 GB, free: 15.67 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Examples.WaterDerivativeCheck.makefile make -j1 -f Buildings_9_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_9_Buildings.Media.Examples.WaterDerivativeCheckCalcHelperMain.o OMCppBuildings_9_Buildings.Media.Examples.WaterDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Media.Examples.WaterDerivativeCheckCalcHelperMain.o] Error 1