Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0007217/0.0007217, allocations: 97.78 kB / 16.02 MB, free: 76 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.0008624/0.0008625, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.323/1.323, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7481/0.7481, allocations: 132.3 MB / 424.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004582, allocations: 11.94 kB / 0.5046 GB, free: 3.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4478, allocations: 81.57 MB / 0.5843 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05015/0.498, allocations: 54.53 MB / 0.6375 GB, free: 9.797 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02176/0.5198, allocations: 17.71 MB / 0.6548 GB, free: 8.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003022/0.5229, allocations: 71.56 kB / 0.6549 GB, free: 7.961 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.5249, allocations: 0.7224 MB / 0.6556 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006356/0.5312, allocations: 2.321 MB / 0.6579 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.5343, allocations: 1.38 MB / 0.6592 GB, free: 3.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02297/0.5573, allocations: 27.77 MB / 0.6863 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01026/0.5676, allocations: 8.449 MB / 0.6946 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01016/0.5778, allocations: 5.217 MB / 0.6997 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008661/0.5865, allocations: 5.807 MB / 0.7053 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001001/0.5875, allocations: 344 kB / 0.7057 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003616/0.5911, allocations: 1.022 MB / 0.7067 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001394/0.5925, allocations: 1.603 MB / 0.7082 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004751/0.5973, allocations: 3.889 MB / 0.712 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009139/0.6064, allocations: 10.37 MB / 0.7222 GB, free: 2.789 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6065, allocations: 0 / 0.7222 GB, free: 2.789 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6065, allocations: 0 / 0.7222 GB, free: 2.789 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004076/0.6069, allocations: 0 / 0.7222 GB, free: 2.789 MB / 0.545 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.01451/0.6214, allocations: 6.886 MB / 0.7289 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.6215, allocations: 12.03 kB / 0.7289 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003482/0.6249, allocations: 0.8586 MB / 0.7297 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01164/0.6366, allocations: 6.623 MB / 0.7362 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002955/0.6369, allocations: 460.2 kB / 0.7366 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/0.638, allocations: 0.6014 MB / 0.7372 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01725/0.6553, allocations: 9.032 MB / 0.7461 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/0.6554, allocations: 15.88 kB / 0.7461 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006382/0.6561, allocations: 264 kB / 0.7463 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/0.6562, allocations: 183.9 kB / 0.7465 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01235/0.6686, allocations: 7.457 MB / 0.7538 GB, free: 1.93 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.04893/0.7176, allocations: 35.98 MB / 0.7889 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006651/0.7242, allocations: 4.28 MB / 0.7931 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004777/0.7291, allocations: 3.328 MB / 0.7963 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/0.7304, allocations: 0.9933 MB / 0.7973 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003932/0.7343, allocations: 2.386 MB / 0.7996 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002773/0.7371, allocations: 447.8 kB / 0.8001 GB, free: 224 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 1.298e-05/0.7372, allocations: 0 / 0.8001 GB, free: 224 kB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01258/0.7497, allocations: 7.14 MB / 0.807 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.7498, allocations: 89.91 kB / 0.8071 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008984/0.7588, allocations: 5.467 MB / 0.8125 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000691/0.7596, allocations: 85.7 kB / 0.8126 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002864/0.7624, allocations: 3.192 MB / 0.8157 GB, free: 128 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.5961/1.359, allocations: 1.112 MB / 0.8168 GB, free: 201.4 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007333/1.359, allocations: 362.3 kB / 0.8171 GB, free: 201.4 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 4.333e-05/1.359, allocations: 307.2 kB / 0.8174 GB, free: 201.1 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003709/1.363, allocations: 2.158 MB / 0.8195 GB, free: 201.1 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004626/1.368, allocations: 3.692 MB / 0.8231 GB, free: 198.4 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008395/1.376, allocations: 6.311 MB / 0.8293 GB, free: 194.6 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.455e-05/1.376, allocations: 16.59 kB / 0.8293 GB, free: 194.6 MB / 0.6388 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01164/1.388, allocations: 6.764 MB / 0.8359 GB, free: 192.1 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/1.388, allocations: 58.23 kB / 0.8359 GB, free: 192.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.499e-05/1.388, allocations: 52 kB / 0.836 GB, free: 192.1 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009357/1.389, allocations: 434.5 kB / 0.8364 GB, free: 192 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/1.392, allocations: 1.011 MB / 0.8374 GB, free: 191.9 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004752/1.397, allocations: 5.256 MB / 0.8425 GB, free: 188.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005151/1.402, allocations: 472.9 kB / 0.843 GB, free: 188 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005958/1.403, allocations: 215 kB / 0.8432 GB, free: 188 MB / 0.6388 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.003968/1.407, allocations: 2.483 MB / 0.8456 GB, free: 186.9 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/1.408, allocations: 0.5307 MB / 0.8461 GB, free: 186.7 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007232/1.416, allocations: 5.264 MB / 0.8513 GB, free: 184.3 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/1.416, allocations: 28.84 kB / 0.8513 GB, free: 184.3 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.416, allocations: 7.781 kB / 0.8513 GB, free: 184.3 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004982/1.421, allocations: 4.526 MB / 0.8557 GB, free: 181.8 MB / 0.6388 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.01671/1.437, allocations: 11.99 MB / 0.8674 GB, free: 170.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/1.437, allocations: 0 / 0.8674 GB, free: 170.5 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002305/1.44, allocations: 0.6555 MB / 0.8681 GB, free: 169.8 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006816/1.44, allocations: 367.6 kB / 0.8684 GB, free: 169.5 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/1.441, allocations: 87.95 kB / 0.8685 GB, free: 169.4 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00386/1.444, allocations: 5.178 MB / 0.8736 GB, free: 164 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.444, allocations: 7.938 kB / 0.8736 GB, free: 163.9 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009071/1.454, allocations: 7.633 MB / 0.881 GB, free: 156.2 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003041/1.457, allocations: 1.209 MB / 0.8822 GB, free: 155 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/1.458, allocations: 67.98 kB / 0.8823 GB, free: 154.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003642/1.461, allocations: 468.4 kB / 0.8827 GB, free: 154.5 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003833/1.462, allocations: 198.2 kB / 0.8829 GB, free: 154.3 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002509/1.462, allocations: 147.9 kB / 0.883 GB, free: 154.1 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.004797/1.467, allocations: 3.803 MB / 0.8868 GB, free: 150.4 MB / 0.6388 GB Notification: Performance of sort global known variables: time 2.81e-07/1.467, allocations: 0 / 0.8868 GB, free: 150.4 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.005594/1.472, allocations: 1.99 MB / 0.8887 GB, free: 148.4 MB / 0.6388 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.001103/1.473, allocations: 494.7 kB / 0.8892 GB, free: 148 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.00693/1.48, allocations: 5.387 MB / 0.8944 GB, free: 142.5 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.48, allocations: 4 kB / 0.8944 GB, free: 142.5 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.002736/1.483, allocations: 2.51 MB / 0.8969 GB, free: 140 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0152/1.498, allocations: 3.218 MB / 0.9 GB, free: 136.9 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/1.517, allocations: 16.74 MB / 0.9164 GB, free: 120.1 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002948/1.52, allocations: 4.553 MB / 0.9208 GB, free: 115.5 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/1.522, allocations: 483.2 kB / 0.9213 GB, free: 115 MB / 0.6388 GB Notification: Performance of SimCode: time 1.022e-06/1.522, allocations: 0 / 0.9213 GB, free: 115 MB / 0.6388 GB Notification: Performance of Templates: time 0.4866/2.008, allocations: 184.8 MB / 1.102 GB, free: 201.7 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o] Error 1