Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009854/0.0009853, allocations: 91.38 kB / 16.33 MB, free: 6.871 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.001072/0.001072, allocations: 191.1 kB / 17.23 MB, free: 6.699 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.538/1.538, allocations: 223.2 MB / 241.2 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7432/0.7432, allocations: 114.4 MB / 406.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003251, allocations: 9.688 kB / 494.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1958, allocations: 77.26 MB / 0.5583 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.5263/0.7221, allocations: 51.52 MB / 0.6086 GB, free: 7.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02801/0.7502, allocations: 16.81 MB / 0.625 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004618/0.7549, allocations: 64.69 kB / 0.6251 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003727/0.7586, allocations: 0.6267 MB / 0.6257 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.7687, allocations: 1.988 MB / 0.6277 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005065/0.7738, allocations: 1.094 MB / 0.6287 GB, free: 9.648 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.03526/0.8091, allocations: 23.62 MB / 0.6518 GB, free: 9.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01326/0.8224, allocations: 7.152 MB / 0.6588 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01502/0.8375, allocations: 5.292 MB / 0.6639 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01509/0.8526, allocations: 5.481 MB / 0.6693 GB, free: 7.699 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003155/0.8558, allocations: 344 kB / 0.6696 GB, free: 7.363 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007643/0.8635, allocations: 0.784 MB / 0.6704 GB, free: 6.578 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004061/0.8676, allocations: 1.533 MB / 0.6719 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005411/0.873, allocations: 1.611 MB / 0.6735 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01593/0.889, allocations: 10.33 MB / 0.6835 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.889, allocations: 11.88 kB / 0.6835 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.426e-06/0.889, allocations: 0 / 0.6835 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005559/0.8896, allocations: 0 / 0.6835 GB, free: 9.055 MB / 0.4981 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.01988/0.9095, allocations: 6.96 MB / 0.6903 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.9096, allocations: 8.031 kB / 0.6904 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005203/0.9148, allocations: 0.8538 MB / 0.6912 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01541/0.9302, allocations: 6.463 MB / 0.6975 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005791/0.9308, allocations: 460.2 kB / 0.6979 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002726/0.9336, allocations: 0.5975 MB / 0.6985 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02712/0.9607, allocations: 8.978 MB / 0.7073 GB, free: 276 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003758/0.9611, allocations: 23.77 kB / 0.7073 GB, free: 252 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00228/0.9634, allocations: 260 kB / 0.7076 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002298/0.9637, allocations: 183.9 kB / 0.7077 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01945/0.9831, allocations: 7.418 MB / 0.715 GB, free: 8.387 MB / 0.5294 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.06821/1.051, allocations: 35.97 MB / 0.7501 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008164/1.06, allocations: 4.273 MB / 0.7543 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006149/1.066, allocations: 3.382 MB / 0.7576 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001598/1.067, allocations: 0.9856 MB / 0.7585 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005464/1.073, allocations: 2.387 MB / 0.7609 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003852/1.077, allocations: 443.8 kB / 0.7613 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=317): time 1.74e-05/1.077, allocations: 0 / 0.7613 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of matching and sorting (n=317): time 0.01813/1.095, allocations: 7.086 MB / 0.7682 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/1.095, allocations: 89.91 kB / 0.7683 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01428/1.11, allocations: 5.416 MB / 0.7736 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001026/1.111, allocations: 85.7 kB / 0.7737 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003788/1.114, allocations: 3.2 MB / 0.7768 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002024/1.116, allocations: 1.113 MB / 0.7779 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005961/1.117, allocations: 92 kB / 0.778 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0003502/1.117, allocations: 495.5 kB / 0.7784 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003822/1.121, allocations: 2.144 MB / 0.7805 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004815/1.126, allocations: 3.673 MB / 0.7841 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004813/1.131, allocations: 2.9 MB / 0.787 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.373e-05/1.131, allocations: 16 kB / 0.787 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01354/1.145, allocations: 6.729 MB / 0.7935 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.506e-05/1.145, allocations: 60.2 kB / 0.7936 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.479e-05/1.145, allocations: 48.09 kB / 0.7937 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/1.146, allocations: 443 kB / 0.7941 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004123/1.15, allocations: 1.01 MB / 0.7951 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006446/1.156, allocations: 5.242 MB / 0.8002 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006632/1.163, allocations: 474.8 kB / 0.8006 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001222/1.164, allocations: 216 kB / 0.8008 GB, free: 12.95 MB / 0.6231 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.006689/1.171, allocations: 2.486 MB / 0.8033 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002306/1.173, allocations: 0.5287 MB / 0.8038 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0121/1.186, allocations: 5.235 MB / 0.8089 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.043e-05/1.186, allocations: 28 kB / 0.8089 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/1.186, allocations: 4 kB / 0.8089 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00795/1.194, allocations: 4.52 MB / 0.8133 GB, free: 15.98 MB / 0.6387 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.02947/1.223, allocations: 11.96 MB / 0.825 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/1.223, allocations: 4 kB / 0.825 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003101/1.226, allocations: 0.6594 MB / 0.8257 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009408/1.227, allocations: 371.1 kB / 0.826 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005149/1.228, allocations: 83.95 kB / 0.8261 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4547/1.683, allocations: 5.156 MB / 0.8311 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/1.683, allocations: 5.375 kB / 0.8311 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01763/1.7, allocations: 7.593 MB / 0.8386 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005022/1.705, allocations: 1.22 MB / 0.8398 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00209/1.707, allocations: 69.09 kB / 0.8398 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005208/1.713, allocations: 466.9 kB / 0.8403 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00061/1.713, allocations: 206.4 kB / 0.8405 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004295/1.714, allocations: 141.7 kB / 0.8406 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.009866/1.724, allocations: 3.763 MB / 0.8443 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/1.724, allocations: 0 / 0.8443 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0107/1.734, allocations: 1.987 MB / 0.8462 GB, free: 207 MB / 0.6387 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.002017/1.736, allocations: 470.2 kB / 0.8467 GB, free: 206.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01094/1.747, allocations: 5.354 MB / 0.8519 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/1.747, allocations: 6.75 kB / 0.8519 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004293/1.752, allocations: 2.497 MB / 0.8543 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01985/1.772, allocations: 3.23 MB / 0.8575 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03805/1.81, allocations: 16.21 MB / 0.8733 GB, free: 195.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005479/1.815, allocations: 4.551 MB / 0.8778 GB, free: 192.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002568/1.818, allocations: 483.3 kB / 0.8782 GB, free: 191.6 MB / 0.6387 GB Notification: Performance of SimCode: time 2.114e-06/1.818, allocations: 0 / 0.8782 GB, free: 191.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.2604/2.078, allocations: 184.9 MB / 1.059 GB, free: 7 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o] Error 1