Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001081/0.00108, allocations: 99.44 kB / 15.71 MB, free: 452 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.001471/0.00147, allocations: 178.8 kB / 16.58 MB, free: 6.422 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.511/1.511, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.845/2.845, allocations: 436.7 MB / 0.7113 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003729, allocations: 8.219 kB / 0.8717 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8586/0.859, allocations: 153.7 MB / 1.022 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05189/0.9109, allocations: 51.54 MB / 1.072 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02463/0.9356, allocations: 16.82 MB / 1.088 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003445/0.9391, allocations: 67.56 kB / 1.089 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00294/0.9421, allocations: 0.6365 MB / 1.089 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008165/0.9503, allocations: 1.984 MB / 1.091 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004099/0.9544, allocations: 1.093 MB / 1.092 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02623/0.9806, allocations: 23.61 MB / 1.115 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01276/0.9934, allocations: 7.146 MB / 1.122 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01415/1.008, allocations: 5.292 MB / 1.127 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01369/1.021, allocations: 5.473 MB / 1.133 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.003102/1.025, allocations: 348 kB / 1.133 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008268/1.033, allocations: 0.7879 MB / 1.134 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.005466/1.038, allocations: 1.529 MB / 1.135 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.006889/1.045, allocations: 1.607 MB / 1.137 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01619/1.061, allocations: 10.32 MB / 1.147 GB, free: 436 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.205e-05/1.062, allocations: 4 kB / 1.147 GB, free: 432 kB / 0.8887 GB Notification: Performance of FrontEnd: time 4.528e-06/1.062, allocations: 4 kB / 1.147 GB, free: 428 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0005782/1.062, allocations: 0 / 1.147 GB, free: 428 kB / 0.8887 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.02117/1.083, allocations: 6.96 MB / 1.154 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.268e-05/1.083, allocations: 11.98 kB / 1.154 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005937/1.089, allocations: 0.85 MB / 1.155 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01558/1.105, allocations: 6.456 MB / 1.161 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005468/1.106, allocations: 460.2 kB / 1.161 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002685/1.108, allocations: 0.6015 MB / 1.162 GB, free: 0.9297 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0247/1.133, allocations: 8.985 MB / 1.171 GB, free: 7.621 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000196/1.133, allocations: 23.88 kB / 1.171 GB, free: 7.598 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00108/1.134, allocations: 260 kB / 1.171 GB, free: 7.344 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001994/1.135, allocations: 176 kB / 1.171 GB, free: 7.172 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01725/1.152, allocations: 7.422 MB / 1.178 GB, free: 15.74 MB / 0.9356 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.05705/1.209, allocations: 35.97 MB / 1.214 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006529/1.215, allocations: 4.268 MB / 1.218 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004953/1.22, allocations: 3.382 MB / 1.221 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001323/1.222, allocations: 0.9856 MB / 1.222 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003756/1.226, allocations: 2.386 MB / 1.224 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003302/1.229, allocations: 447.8 kB / 1.225 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=317): time 1.28e-05/1.229, allocations: 0 / 1.225 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=317): time 0.01272/1.242, allocations: 7.085 MB / 1.232 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.667e-05/1.242, allocations: 89.84 kB / 1.232 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008393/1.25, allocations: 5.42 MB / 1.237 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0006801/1.251, allocations: 97.64 kB / 1.237 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.003244/1.254, allocations: 3.188 MB / 1.24 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001635/1.256, allocations: 1.117 MB / 1.241 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/1.256, allocations: 88 kB / 1.241 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002822/1.256, allocations: 491.6 kB / 1.242 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003428/1.26, allocations: 2.14 MB / 1.244 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004476/1.264, allocations: 3.674 MB / 1.248 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004318/1.269, allocations: 2.904 MB / 1.25 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.612e-05/1.269, allocations: 16 kB / 1.25 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.8502/2.119, allocations: 6.72 MB / 1.257 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/2.119, allocations: 53.55 kB / 1.257 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/2.119, allocations: 48.47 kB / 1.257 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/2.12, allocations: 444.1 kB / 1.257 GB, free: 208.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00484/2.125, allocations: 1.015 MB / 1.258 GB, free: 208.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007023/2.132, allocations: 5.238 MB / 1.264 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006723/2.139, allocations: 469 kB / 1.264 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001178/2.14, allocations: 216.4 kB / 1.264 GB, free: 205.1 MB / 0.9981 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.007351/2.148, allocations: 2.484 MB / 1.267 GB, free: 204.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001936/2.15, allocations: 0.5282 MB / 1.267 GB, free: 204 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0108/2.16, allocations: 5.239 MB / 1.272 GB, free: 202 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.021e-05/2.16, allocations: 34.84 kB / 1.272 GB, free: 202 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/2.161, allocations: 7.516 kB / 1.272 GB, free: 202 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007658/2.168, allocations: 4.509 MB / 1.277 GB, free: 200.1 MB / 0.9981 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.02345/2.192, allocations: 11.97 MB / 1.288 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/2.192, allocations: 0 / 1.288 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002482/2.194, allocations: 0.652 MB / 1.289 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007852/2.195, allocations: 367.8 kB / 1.289 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002432/2.195, allocations: 95.06 kB / 1.29 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00431/2.2, allocations: 5.172 MB / 1.295 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/2.2, allocations: 0 / 1.295 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/2.211, allocations: 7.599 MB / 1.302 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003604/2.214, allocations: 1.219 MB / 1.303 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001552/2.216, allocations: 71.94 kB / 1.303 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0045/2.22, allocations: 471.1 kB / 1.304 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003713/2.221, allocations: 198.2 kB / 1.304 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003371/2.221, allocations: 139.9 kB / 1.304 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005824/2.227, allocations: 3.764 MB / 1.308 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.11e-07/2.227, allocations: 0 / 1.308 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.008244/2.235, allocations: 1.978 MB / 1.31 GB, free: 178.8 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.001619/2.237, allocations: 469.9 kB / 1.31 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008002/2.245, allocations: 5.359 MB / 1.315 GB, free: 173 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/2.245, allocations: 4 kB / 1.315 GB, free: 173 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003322/2.248, allocations: 2.506 MB / 1.318 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01553/2.264, allocations: 3.218 MB / 1.321 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02509/2.289, allocations: 16.21 MB / 1.337 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003843/2.293, allocations: 4.545 MB / 1.341 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002361/2.295, allocations: 491.2 kB / 1.342 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of SimCode: time 2.024e-06/2.295, allocations: 0 / 1.342 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.2574/2.553, allocations: 184.9 MB / 1.522 GB, free: 9.473 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o] Error 1