Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.01386/0.01386, allocations: 101.1 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002642/0.002643, allocations: 190.2 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.581/2.581, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003308/0.003308, allocations: 290.5 kB / 290.9 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 2.027/2.027, allocations: 169.2 MB / 0.4984 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002595/0.002595, allocations: 88.45 kB / 0.5951 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3466, allocations: 86.98 MB / 0.6801 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.09164/0.4384, allocations: 55.63 MB / 0.7344 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.04133/0.4798, allocations: 17.92 MB / 0.7519 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006296/0.4861, allocations: 71.56 kB / 0.752 GB, free: 7.312 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004699/0.4909, allocations: 0.7302 MB / 0.7527 GB, free: 6.578 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0138/0.5048, allocations: 2.321 MB / 0.7549 GB, free: 4.246 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0078/0.5126, allocations: 1.382 MB / 0.7563 GB, free: 2.875 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.8531/1.366, allocations: 27.81 MB / 0.7834 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02814/1.394, allocations: 8.688 MB / 0.7919 GB, free: 25.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03039/1.424, allocations: 5.525 MB / 0.7973 GB, free: 24.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03269/1.457, allocations: 6.185 MB / 0.8034 GB, free: 23.83 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.007304/1.465, allocations: 473.8 kB / 0.8038 GB, free: 23.83 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01556/1.48, allocations: 1.156 MB / 0.8049 GB, free: 23.83 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.01009/1.49, allocations: 1.797 MB / 0.8067 GB, free: 23.55 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.02214/1.513, allocations: 4.12 MB / 0.8107 GB, free: 22.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02372/1.536, allocations: 10.64 MB / 0.8211 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.206e-05/1.536, allocations: 2.438 kB / 0.8211 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.218e-06/1.536, allocations: 0 / 0.8211 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000822/1.537, allocations: 0 / 0.8211 GB, free: 21.92 MB / 0.5762 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.05086/1.588, allocations: 8.506 MB / 0.8294 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.291e-05/1.588, allocations: 7.562 kB / 0.8294 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009564/1.598, allocations: 0.8485 MB / 0.8303 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03001/1.628, allocations: 6.616 MB / 0.8367 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001286/1.629, allocations: 459.5 kB / 0.8372 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006177/1.635, allocations: 0.6055 MB / 0.8378 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05285/1.688, allocations: 9.023 MB / 0.8466 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005615/1.689, allocations: 23.06 kB / 0.8466 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004959/1.694, allocations: 261.3 kB / 0.8468 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003823/1.694, allocations: 180.2 kB / 0.847 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03747/1.732, allocations: 7.45 MB / 0.8543 GB, free: 3.133 MB / 0.5762 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.1108/1.843, allocations: 35.91 MB / 0.8894 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01321/1.856, allocations: 4.296 MB / 0.8935 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009393/1.866, allocations: 3.306 MB / 0.8968 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00213/1.868, allocations: 0.9533 MB / 0.8977 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008564/1.876, allocations: 2.384 MB / 0.9 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006366/1.883, allocations: 447.5 kB / 0.9005 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 2.451e-05/1.883, allocations: 0 / 0.9005 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.03633/1.919, allocations: 7.103 MB / 0.9074 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/1.92, allocations: 81.91 kB / 0.9075 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02889/1.948, allocations: 5.465 MB / 0.9128 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001909/1.95, allocations: 93.7 kB / 0.9129 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.007733/1.958, allocations: 3.189 MB / 0.916 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003622/1.962, allocations: 1.121 MB / 0.9171 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003069/1.965, allocations: 0.858 MB / 0.918 GB, free: 252 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002659/1.965, allocations: 301.1 kB / 0.9182 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006732/1.972, allocations: 2.152 MB / 0.9203 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008766/1.981, allocations: 3.686 MB / 0.9239 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01708/1.998, allocations: 6.304 MB / 0.9301 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.713e-05/1.998, allocations: 12 kB / 0.9301 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.026/2.024, allocations: 6.754 MB / 0.9367 GB, free: 12.09 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001639/2.025, allocations: 56.7 kB / 0.9368 GB, free: 12.03 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001342/2.025, allocations: 51.98 kB / 0.9368 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/2.026, allocations: 439.2 kB / 0.9372 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007295/2.034, allocations: 1.003 MB / 0.9382 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009508/2.043, allocations: 5.268 MB / 0.9433 GB, free: 5.133 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01292/2.056, allocations: 465.8 kB / 0.9438 GB, free: 4.68 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002464/2.059, allocations: 218.6 kB / 0.944 GB, free: 4.469 MB / 0.67 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0118/2.071, allocations: 2.486 MB / 0.9464 GB, free: 2.043 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003674/2.074, allocations: 0.5249 MB / 0.9469 GB, free: 1.512 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02006/2.094, allocations: 5.242 MB / 0.9521 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.715e-05/2.095, allocations: 35.98 kB / 0.9521 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-05/2.095, allocations: 4 kB / 0.9521 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01406/2.109, allocations: 4.531 MB / 0.9565 GB, free: 7.586 MB / 0.6856 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.04708/2.156, allocations: 11.94 MB / 0.9682 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/2.156, allocations: 3.938 kB / 0.9682 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005207/2.161, allocations: 0.6465 MB / 0.9688 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001579/2.163, allocations: 378.3 kB / 0.9692 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009675/2.164, allocations: 79.95 kB / 0.9693 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009292/2.173, allocations: 5.175 MB / 0.9743 GB, free: 5.082 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/2.173, allocations: 6.562 kB / 0.9743 GB, free: 5.078 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02543/2.199, allocations: 7.613 MB / 0.9818 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008364/2.207, allocations: 1.139 MB / 0.9829 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004417/2.211, allocations: 67.98 kB / 0.9829 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01098/2.223, allocations: 467.7 kB / 0.9834 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001522/2.224, allocations: 194.2 kB / 0.9836 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008758/2.225, allocations: 143.9 kB / 0.9837 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.01539/2.24, allocations: 3.807 MB / 0.9874 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.91e-07/2.24, allocations: 0 / 0.9874 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0156/2.256, allocations: 1.991 MB / 0.9894 GB, free: 5.594 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003203/2.259, allocations: 498.1 kB / 0.9898 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0187/2.278, allocations: 5.367 MB / 0.9951 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.079e-05/2.278, allocations: 0 / 0.9951 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00934/2.287, allocations: 2.504 MB / 0.9975 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03989/2.327, allocations: 3.229 MB / 1.001 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05962/2.387, allocations: 16.51 MB / 1.017 GB, free: 9.734 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01169/2.399, allocations: 4.549 MB / 1.021 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005094/2.404, allocations: 485.9 kB / 1.022 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of SimCode: time 2.555e-06/2.404, allocations: 0 / 1.022 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of Templates: time 1.23/3.634, allocations: 185.9 MB / 1.203 GB, free: 168.2 MB / 0.7794 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o] Error 1