Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 102.5 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.001513/0.001513, allocations: 178.6 kB / 16.58 MB, free: 6.859 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.508/1.508, allocations: 223.2 MB / 240.6 MB, free: 5.426 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.609/2.609, allocations: 390.4 MB / 0.6662 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006236/0.0006239, allocations: 12 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9986/0.9992, allocations: 142.3 MB / 0.9544 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05231/1.052, allocations: 51.54 MB / 1.005 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02426/1.076, allocations: 16.82 MB / 1.021 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003738/1.08, allocations: 67.56 kB / 1.021 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002794/1.082, allocations: 0.6248 MB / 1.022 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007655/1.09, allocations: 1.989 MB / 1.024 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004232/1.094, allocations: 1.095 MB / 1.025 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02517/1.12, allocations: 23.61 MB / 1.048 GB, free: 144 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0123/1.132, allocations: 7.15 MB / 1.055 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01323/1.145, allocations: 5.3 MB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01201/1.157, allocations: 5.477 MB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002755/1.16, allocations: 344 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007117/1.167, allocations: 0.7918 MB / 1.067 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003981/1.171, allocations: 1.518 MB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.005345/1.177, allocations: 1.607 MB / 1.07 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0146/1.191, allocations: 10.32 MB / 1.08 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/1.191, allocations: 0 / 1.08 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.444e-06/1.191, allocations: 0 / 1.08 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0005116/1.192, allocations: 0 / 1.08 GB, free: 15.48 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01851/1.21, allocations: 6.956 MB / 1.086 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/1.21, allocations: 8.031 kB / 1.086 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005142/1.216, allocations: 0.8655 MB / 1.087 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01539/1.231, allocations: 6.459 MB / 1.094 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004918/1.232, allocations: 460.2 kB / 1.094 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002453/1.234, allocations: 0.6014 MB / 1.095 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02345/1.257, allocations: 8.985 MB / 1.103 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001726/1.258, allocations: 15.88 kB / 1.103 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001112/1.259, allocations: 256 kB / 1.104 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001941/1.259, allocations: 179.9 kB / 1.104 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01771/1.277, allocations: 7.418 MB / 1.111 GB, free: 14.8 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06009/1.337, allocations: 35.97 MB / 1.146 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007331/1.344, allocations: 4.279 MB / 1.15 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005504/1.35, allocations: 3.394 MB / 1.154 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001574/1.351, allocations: 0.9856 MB / 1.155 GB, free: 15.91 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004429/1.356, allocations: 2.375 MB / 1.157 GB, free: 13.5 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003807/1.36, allocations: 443.8 kB / 1.157 GB, free: 13.07 MB / 0.92 GB Notification: Performance of pre-optimization done (n=317): time 2.148e-05/1.36, allocations: 0 / 1.157 GB, free: 13.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=317): time 0.01466/1.374, allocations: 7.093 MB / 1.164 GB, free: 5.883 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.953e-05/1.375, allocations: 85.91 kB / 1.164 GB, free: 5.785 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009495/1.384, allocations: 5.432 MB / 1.17 GB, free: 384 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0009617/1.385, allocations: 85.7 kB / 1.17 GB, free: 292 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.003534/1.389, allocations: 3.192 MB / 1.173 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001992/1.391, allocations: 1.109 MB / 1.174 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002678/1.391, allocations: 96 kB / 1.174 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0003106/1.391, allocations: 491.6 kB / 1.175 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003565/1.395, allocations: 2.144 MB / 1.177 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00461/1.399, allocations: 3.67 MB / 1.18 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004613/1.404, allocations: 2.9 MB / 1.183 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.493e-05/1.404, allocations: 16 kB / 1.183 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01272/1.417, allocations: 6.725 MB / 1.19 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-05/1.417, allocations: 57.64 kB / 1.19 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.496e-05/1.417, allocations: 48 kB / 1.19 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/1.418, allocations: 441.5 kB / 1.19 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003933/1.422, allocations: 1.014 MB / 1.191 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00625/1.428, allocations: 5.248 MB / 1.196 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006535/1.435, allocations: 470.8 kB / 1.197 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009907/1.436, allocations: 216 kB / 1.197 GB, free: 3.367 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005903/1.442, allocations: 2.49 MB / 1.199 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001795/1.444, allocations: 0.5248 MB / 1.2 GB, free: 340 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/1.454, allocations: 5.239 MB / 1.205 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.432e-05/1.454, allocations: 35.97 kB / 1.205 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.128e-05/1.454, allocations: 7.953 kB / 1.205 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009266/1.463, allocations: 4.516 MB / 1.209 GB, free: 6.371 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03018/1.493, allocations: 11.95 MB / 1.221 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/1.494, allocations: 4 kB / 1.221 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002771/1.496, allocations: 0.6555 MB / 1.222 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009053/1.497, allocations: 365.3 kB / 1.222 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002752/1.498, allocations: 87.95 kB / 1.222 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006002/1.504, allocations: 5.168 MB / 1.227 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/1.504, allocations: 7.938 kB / 1.227 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/1.517, allocations: 7.591 MB / 1.235 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004143/1.521, allocations: 1.221 MB / 1.236 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001681/1.523, allocations: 71.94 kB / 1.236 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004727/1.528, allocations: 470.3 kB / 1.236 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004532/1.528, allocations: 198.2 kB / 1.237 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003562/1.529, allocations: 135.9 kB / 1.237 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.008012/1.537, allocations: 3.764 MB / 1.24 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.537, allocations: 4 kB / 1.24 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.01111/1.548, allocations: 1.987 MB / 1.242 GB, free: 4.152 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002089/1.55, allocations: 477.6 kB / 1.243 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01024/1.56, allocations: 5.355 MB / 1.248 GB, free: 14.28 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/1.56, allocations: 4 kB / 1.248 GB, free: 14.28 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004379/1.565, allocations: 2.499 MB / 1.25 GB, free: 11.75 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01695/1.582, allocations: 3.222 MB / 1.254 GB, free: 8.582 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.634/2.216, allocations: 16.19 MB / 1.269 GB, free: 273.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006715/2.223, allocations: 4.55 MB / 1.274 GB, free: 272.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002611/2.225, allocations: 488.8 kB / 1.274 GB, free: 272.8 MB / 1.014 GB Notification: Performance of SimCode: time 1.242e-06/2.225, allocations: 1.641 kB / 1.274 GB, free: 272.8 MB / 1.014 GB Notification: Performance of Templates: time 0.2366/2.462, allocations: 185 MB / 1.455 GB, free: 109 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile make -j1 -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o] Error 1