Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007863/0.0007863, allocations: 102.7 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.001032/0.001032, allocations: 177.9 kB / 16.58 MB, free: 6.863 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.475/1.475, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.902/2.902, allocations: 436.7 MB / 0.7113 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006372/0.0006374, allocations: 8 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.918/0.9186, allocations: 153.7 MB / 1.022 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.002777/0.9215, allocations: 1.891 MB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.9236, allocations: 1.186 MB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.9238, allocations: 7.938 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004739/0.9243, allocations: 151.5 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.9246, allocations: 131.5 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.9252, allocations: 196.7 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004104/0.9256, allocations: 354.8 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.9258, allocations: 76.67 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.926, allocations: 135.3 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.9262, allocations: 151.3 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.9262, allocations: 8 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.9264, allocations: 47.97 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.9265, allocations: 95.66 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.508e-05/0.9266, allocations: 77.52 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.927, allocations: 381 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.927, allocations: 8 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.675e-06/0.927, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.927, allocations: 0 / 1.026 GB, free: 12.23 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001001/0.928, allocations: 0.6573 MB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.9281, allocations: 16.03 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.378e-05/0.9281, allocations: 39.53 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005331/0.9287, allocations: 397 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.9287, allocations: 8 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.9288, allocations: 19.95 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.9291, allocations: 164.2 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9291, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.9292, allocations: 15.98 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.9292, allocations: 0 / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.9294, allocations: 91.89 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.9305, allocations: 0.7932 MB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.9308, allocations: 137.4 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.9309, allocations: 53.64 kB / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.9309, allocations: 0 / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/0.9312, allocations: 133 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 6.762e-06/0.9312, allocations: 3.984 kB / 1.029 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0004942/0.9317, allocations: 217 kB / 1.029 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.9317, allocations: 110.8 kB / 1.029 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006521/0.9324, allocations: 0.5643 MB / 1.03 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.9324, allocations: 37.7 kB / 1.03 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.9326, allocations: 208.4 kB / 1.03 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.9327, allocations: 31.55 kB / 1.03 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/0.9327, allocations: 11.94 kB / 1.03 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.9328, allocations: 358.8 kB / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.933, allocations: 99.95 kB / 1.031 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.9333, allocations: 162 kB / 1.031 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.9335, allocations: 111.9 kB / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9335, allocations: 0 / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000558/0.9341, allocations: 343 kB / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.9341, allocations: 8.094 kB / 1.031 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.9341, allocations: 4 kB / 1.031 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.9341, allocations: 0 / 1.031 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.9343, allocations: 43.92 kB / 1.031 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.9344, allocations: 7.984 kB / 1.031 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.9346, allocations: 47.81 kB / 1.031 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.9346, allocations: 19.94 kB / 1.031 GB, free: 7.094 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,$PRE.TTanBot.tab.nextTimeEvent,$whenCondition1,$PRE.TTanTop.tab.nextTimeEvent,$PRE.tanSta.hysCha.y,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEventScaled,$PRE.tanSta.hysEmp.y,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEventScaled,tanSta.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0002302/0.9349, allocations: 187.6 kB / 1.031 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.9349, allocations: 43.42 kB / 1.031 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.235e-05/0.935, allocations: 43.97 kB / 1.031 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.935, allocations: 7.938 kB / 1.032 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.935, allocations: 0 / 1.032 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.9351, allocations: 0 / 1.032 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.9354, allocations: 337.3 kB / 1.032 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.9354, allocations: 4 kB / 1.032 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.9354, allocations: 8 kB / 1.032 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.9354, allocations: 0 / 1.032 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.9354, allocations: 7.953 kB / 1.032 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.9355, allocations: 3.984 kB / 1.032 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9355, allocations: 0 / 1.032 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.9358, allocations: 205.4 kB / 1.032 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.9359, allocations: 132.5 kB / 1.032 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.936, allocations: 8 kB / 1.032 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.9361, allocations: 19.94 kB / 1.032 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.9362, allocations: 23.95 kB / 1.032 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.9362, allocations: 8 kB / 1.032 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003872/0.9366, allocations: 359.1 kB / 1.033 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9366, allocations: 7.938 kB / 1.033 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003262/0.9369, allocations: 63.91 kB / 1.033 GB, free: 5.555 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,$whenCondition1,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled) * Number of discrete states: 6 (TTanTop.tab.nextTimeEventScaled,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001035/0.938, allocations: 435 kB / 1.033 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004214/0.9384, allocations: 199.7 kB / 1.033 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.9384, allocations: 0 / 1.033 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.9385, allocations: 60.11 kB / 1.033 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.939, allocations: 88.84 kB / 1.033 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.9401, allocations: 0.7092 MB / 1.034 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.9405, allocations: 0.8109 MB / 1.035 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.267e-05/0.9406, allocations: 35.42 kB / 1.035 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.9406, allocations: 0 / 1.035 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of Templates: time 0.007747/0.9483, allocations: 5.018 MB / 1.04 GB, free: 14.34 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatusCalcHelperMain.o OMCppBuildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatusCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatusCalcHelperMain.o] Error 1