Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009871/0.0009867, allocations: 100.5 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.0012/0.0012, allocations: 175.2 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.538/1.538, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.012/1.012, allocations: 135.3 MB / 427 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003774, allocations: 8 kB / 0.5076 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2185, allocations: 82.31 MB / 0.588 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4987/0.7172, allocations: 51.52 MB / 0.6383 GB, free: 23.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02047/0.7377, allocations: 16.8 MB / 0.6547 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003599/0.7414, allocations: 65.22 kB / 0.6548 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002872/0.7443, allocations: 0.6278 MB / 0.6554 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0073/0.7516, allocations: 1.982 MB / 0.6573 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003821/0.7555, allocations: 1.099 MB / 0.6584 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02717/0.7826, allocations: 23.57 MB / 0.6814 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01485/0.7975, allocations: 7.179 MB / 0.6884 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01755/0.8151, allocations: 5.31 MB / 0.6936 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01636/0.8316, allocations: 5.484 MB / 0.6989 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.003179/0.8348, allocations: 352.2 kB / 0.6993 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008438/0.8432, allocations: 0.7789 MB / 0.7 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.004706/0.848, allocations: 1.524 MB / 0.7015 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.006337/0.8543, allocations: 1.607 MB / 0.7031 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01807/0.8724, allocations: 10.34 MB / 0.7132 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.8725, allocations: 0 / 0.7132 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.625e-06/0.8725, allocations: 0 / 0.7132 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005525/0.8731, allocations: 0 / 0.7132 GB, free: 12.38 MB / 0.5294 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.01959/0.8927, allocations: 6.952 MB / 0.72 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.8927, allocations: 8.031 kB / 0.72 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005378/0.8981, allocations: 0.8616 MB / 0.7208 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01567/0.9138, allocations: 6.471 MB / 0.7272 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005443/0.9144, allocations: 460.2 kB / 0.7276 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002396/0.9168, allocations: 0.5936 MB / 0.7282 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02166/0.9385, allocations: 8.984 MB / 0.7369 GB, free: 3.582 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001573/0.9387, allocations: 19.86 kB / 0.737 GB, free: 3.562 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008058/0.9395, allocations: 263.9 kB / 0.7372 GB, free: 3.305 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001979/0.9397, allocations: 187.9 kB / 0.7374 GB, free: 3.121 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01803/0.9578, allocations: 7.406 MB / 0.7446 GB, free: 11.71 MB / 0.5606 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.05989/1.018, allocations: 35.95 MB / 0.7797 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007415/1.025, allocations: 4.273 MB / 0.7839 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005389/1.031, allocations: 3.392 MB / 0.7872 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/1.032, allocations: 0.9778 MB / 0.7882 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004628/1.037, allocations: 2.386 MB / 0.7905 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003893/1.041, allocations: 455.8 kB / 0.7909 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=317): time 1.597e-05/1.041, allocations: 3.938 kB / 0.7909 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=317): time 0.01474/1.055, allocations: 7.078 MB / 0.7979 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.463e-05/1.055, allocations: 89.89 kB / 0.7979 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01001/1.066, allocations: 5.428 MB / 0.8032 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.00101/1.067, allocations: 85.7 kB / 0.8033 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.003931/1.07, allocations: 3.196 MB / 0.8064 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0021/1.073, allocations: 1.109 MB / 0.8075 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003113/1.073, allocations: 92 kB / 0.8076 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0003416/1.073, allocations: 487.6 kB / 0.8081 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003575/1.077, allocations: 2.152 MB / 0.8102 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004865/1.082, allocations: 3.666 MB / 0.8138 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005378/1.087, allocations: 2.9 MB / 0.8166 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-05/1.087, allocations: 19.94 kB / 0.8166 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01332/1.101, allocations: 6.725 MB / 0.8232 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.707e-05/1.101, allocations: 57.69 kB / 0.8232 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.165e-05/1.101, allocations: 48 kB / 0.8233 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009607/1.102, allocations: 442.1 kB / 0.8237 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003861/1.106, allocations: 1.01 MB / 0.8247 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005908/1.112, allocations: 5.244 MB / 0.8298 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005893/1.117, allocations: 470.6 kB / 0.8303 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00094/1.118, allocations: 220 kB / 0.8305 GB, free: 308 kB / 0.6387 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.005466/1.124, allocations: 2.487 MB / 0.8329 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001739/1.126, allocations: 0.5248 MB / 0.8334 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009475/1.135, allocations: 5.238 MB / 0.8385 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.443e-05/1.135, allocations: 32 kB / 0.8386 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/1.135, allocations: 4 kB / 0.8386 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006688/1.142, allocations: 4.516 MB / 0.843 GB, free: 3.332 MB / 0.6544 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.02883/1.171, allocations: 11.97 MB / 0.8547 GB, free: 7.168 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/1.171, allocations: 0 / 0.8547 GB, free: 7.168 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002647/1.173, allocations: 0.6557 MB / 0.8553 GB, free: 6.512 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00095/1.174, allocations: 369.3 kB / 0.8557 GB, free: 6.145 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002295/1.175, allocations: 87.89 kB / 0.8557 GB, free: 6.059 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005579/1.18, allocations: 5.166 MB / 0.8608 GB, free: 0.625 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.18, allocations: 4 kB / 0.8608 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4839/1.664, allocations: 7.596 MB / 0.8682 GB, free: 195.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004162/1.668, allocations: 1.221 MB / 0.8694 GB, free: 195.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001827/1.67, allocations: 66.72 kB / 0.8695 GB, free: 195.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004823/1.675, allocations: 470.4 kB / 0.8699 GB, free: 195.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004664/1.676, allocations: 200.5 kB / 0.8701 GB, free: 195.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004362/1.676, allocations: 135.2 kB / 0.8702 GB, free: 195.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007521/1.684, allocations: 3.767 MB / 0.8739 GB, free: 194.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 6.31e-07/1.684, allocations: 0 / 0.8739 GB, free: 194.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00992/1.694, allocations: 1.977 MB / 0.8758 GB, free: 194.1 MB / 0.67 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.002613/1.696, allocations: 478.7 kB / 0.8763 GB, free: 193.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0112/1.707, allocations: 5.349 MB / 0.8815 GB, free: 191.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/1.708, allocations: 5.812 kB / 0.8815 GB, free: 191.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00437/1.712, allocations: 2.5 MB / 0.884 GB, free: 190.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01927/1.731, allocations: 3.23 MB / 0.8871 GB, free: 190.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03803/1.769, allocations: 16.21 MB / 0.903 GB, free: 182.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007752/1.777, allocations: 4.55 MB / 0.9074 GB, free: 180.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00298/1.78, allocations: 481.6 kB / 0.9079 GB, free: 180.6 MB / 0.67 GB Notification: Performance of SimCode: time 2.635e-06/1.78, allocations: 0 / 0.9079 GB, free: 180.6 MB / 0.67 GB Notification: Performance of Templates: time 0.285/2.065, allocations: 184.9 MB / 1.088 GB, free: 18.46 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile make -j1 -f IDEAS_dev_IDEAS.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 OMCppIDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o] Error 1