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.001083/0.001084, allocations: 98.97 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.001993/0.001993, allocations: 174.4 kB / 16.58 MB, free: 6.418 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.434/1.434, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7357/0.7357, allocations: 132.3 MB / 424 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.000387, allocations: 14.14 kB / 0.504 GB, free: 4.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4939/0.4943, allocations: 81.57 MB / 0.5837 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0557/0.55, allocations: 51.54 MB / 0.634 GB, free: 12.8 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02396/0.5741, allocations: 16.81 MB / 0.6504 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003729/0.5779, allocations: 67.56 kB / 0.6505 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00287/0.5807, allocations: 0.6248 MB / 0.6511 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008596/0.5894, allocations: 1.989 MB / 0.653 GB, free: 9.414 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004773/0.5942, allocations: 1.084 MB / 0.6541 GB, free: 8.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02326/0.6174, allocations: 23.57 MB / 0.6771 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01088/0.6284, allocations: 7.173 MB / 0.6841 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01318/0.6416, allocations: 5.311 MB / 0.6893 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01193/0.6536, allocations: 5.489 MB / 0.6947 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002682/0.6563, allocations: 344 kB / 0.695 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00668/0.663, allocations: 0.784 MB / 0.6957 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00408/0.6671, allocations: 1.525 MB / 0.6972 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004973/0.6721, allocations: 1.611 MB / 0.6988 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01576/0.6879, allocations: 10.32 MB / 0.7089 GB, free: 15.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.688, allocations: 0 / 0.7089 GB, free: 15.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.434e-06/0.688, allocations: 0 / 0.7089 GB, free: 15.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0005546/0.6885, allocations: 0 / 0.7089 GB, free: 15.98 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.01878/0.7073, allocations: 6.963 MB / 0.7157 GB, free: 8.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.7074, allocations: 12.03 kB / 0.7157 GB, free: 8.918 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00451/0.7119, allocations: 0.8538 MB / 0.7165 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01561/0.7276, allocations: 6.47 MB / 0.7229 GB, free: 1.535 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000649/0.7283, allocations: 460.2 kB / 0.7233 GB, free: 1.082 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002594/0.7309, allocations: 0.6014 MB / 0.7239 GB, free: 492 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02581/0.7567, allocations: 8.974 MB / 0.7326 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003776/0.7572, allocations: 19.88 kB / 0.7327 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002142/0.7593, allocations: 264 kB / 0.7329 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002442/0.7596, allocations: 179.9 kB / 0.7331 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01878/0.7784, allocations: 7.414 MB / 0.7403 GB, free: 15.3 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.06476/0.8432, allocations: 35.96 MB / 0.7754 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007985/0.8512, allocations: 4.276 MB / 0.7796 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005776/0.8571, allocations: 3.382 MB / 0.7829 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/0.8586, allocations: 0.9857 MB / 0.7839 GB, free: 464 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004966/0.8636, allocations: 2.378 MB / 0.7862 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003556/0.8672, allocations: 443.7 kB / 0.7866 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 1.447e-05/0.8672, allocations: 0 / 0.7866 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01537/0.8826, allocations: 7.09 MB / 0.7936 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.8827, allocations: 81.91 kB / 0.7936 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01176/0.8945, allocations: 5.424 MB / 0.7989 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0009661/0.8955, allocations: 89.7 kB / 0.799 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.004244/0.8997, allocations: 3.188 MB / 0.8021 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002132/0.9019, allocations: 1.121 MB / 0.8032 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007746/0.9027, allocations: 91.94 kB / 0.8033 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0004634/0.9032, allocations: 495.6 kB / 0.8038 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004385/0.9076, allocations: 2.144 MB / 0.8059 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005542/0.9132, allocations: 3.681 MB / 0.8095 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00535/0.9185, allocations: 2.896 MB / 0.8123 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-05/0.9186, allocations: 12 kB / 0.8123 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.4678/1.386, allocations: 6.727 MB / 0.8189 GB, free: 198.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.276e-05/1.387, allocations: 56.14 kB / 0.8189 GB, free: 198.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.561e-05/1.387, allocations: 53.12 kB / 0.819 GB, free: 198.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/1.388, allocations: 434.6 kB / 0.8194 GB, free: 198.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004093/1.392, allocations: 1.013 MB / 0.8204 GB, free: 198.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005637/1.398, allocations: 5.241 MB / 0.8255 GB, free: 194.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006077/1.404, allocations: 469.7 kB / 0.826 GB, free: 194.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009486/1.405, allocations: 215.7 kB / 0.8262 GB, free: 194.7 MB / 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.006178/1.411, allocations: 2.489 MB / 0.8286 GB, free: 193.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002036/1.413, allocations: 0.5276 MB / 0.8291 GB, free: 193.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009816/1.423, allocations: 5.243 MB / 0.8342 GB, free: 191.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.412e-05/1.423, allocations: 31.31 kB / 0.8343 GB, free: 191.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/1.423, allocations: 4.344 kB / 0.8343 GB, free: 191.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006817/1.43, allocations: 4.506 MB / 0.8387 GB, free: 189.7 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.01966/1.449, allocations: 11.97 MB / 0.8503 GB, free: 183.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/1.449, allocations: 0 / 0.8503 GB, free: 183.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002406/1.452, allocations: 0.6514 MB / 0.851 GB, free: 183.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007108/1.453, allocations: 377.3 kB / 0.8513 GB, free: 183.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/1.453, allocations: 84.7 kB / 0.8514 GB, free: 183.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004068/1.457, allocations: 5.172 MB / 0.8565 GB, free: 179.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.457, allocations: 1.875 kB / 0.8565 GB, free: 179.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009852/1.467, allocations: 7.609 MB / 0.8639 GB, free: 173.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00324/1.47, allocations: 1.211 MB / 0.8651 GB, free: 171.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00135/1.471, allocations: 63.98 kB / 0.8651 GB, free: 171.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004134/1.475, allocations: 476 kB / 0.8656 GB, free: 171.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003655/1.476, allocations: 202.2 kB / 0.8658 GB, free: 171.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003159/1.476, allocations: 139.9 kB / 0.8659 GB, free: 171.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.006135/1.482, allocations: 3.76 MB / 0.8696 GB, free: 167.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.92e-07/1.482, allocations: 0 / 0.8696 GB, free: 167.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01088/1.493, allocations: 1.987 MB / 0.8715 GB, free: 165.4 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.002114/1.495, allocations: 470.9 kB / 0.872 GB, free: 165.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01235/1.508, allocations: 5.357 MB / 0.8772 GB, free: 159.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.508, allocations: 8.062 kB / 0.8772 GB, free: 159.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00494/1.513, allocations: 2.49 MB / 0.8797 GB, free: 157.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02219/1.535, allocations: 3.228 MB / 0.8828 GB, free: 154 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03569/1.571, allocations: 16.21 MB / 0.8986 GB, free: 137.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006091/1.577, allocations: 4.549 MB / 0.9031 GB, free: 133.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002933/1.58, allocations: 483.3 kB / 0.9035 GB, free: 132.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.714e-06/1.58, allocations: 0 / 0.9035 GB, free: 132.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.6282/2.208, allocations: 184.9 MB / 1.084 GB, free: 214.1 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++ 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_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