Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01247/0.01247, allocations: 100.1 kB / 15.87 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.003152/0.003151, allocations: 190.1 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.694/2.694, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00423/0.004231, allocations: 290.9 kB / 290.9 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.725/1.725, allocations: 169.2 MB / 0.4983 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003141/0.003141, allocations: 87.27 kB / 0.5951 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3329, allocations: 86.99 MB / 0.6801 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0795/0.4124, allocations: 48.97 MB / 0.7279 GB, free: 60 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03679/0.4493, allocations: 13.82 MB / 0.7414 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006679/0.456, allocations: 63.62 kB / 0.7415 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006085/0.4622, allocations: 0.6525 MB / 0.7421 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01372/0.476, allocations: 2.096 MB / 0.7441 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00799/0.4841, allocations: 1.183 MB / 0.7453 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.04667/0.5308, allocations: 25.65 MB / 0.7703 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.839/1.37, allocations: 8.078 MB / 0.7782 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02099/1.391, allocations: 4.998 MB / 0.7831 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01942/1.41, allocations: 5.594 MB / 0.7886 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0049/1.415, allocations: 420 kB / 0.789 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01311/1.429, allocations: 1.103 MB / 0.79 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.009511/1.438, allocations: 1.626 MB / 0.7916 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.02406/1.462, allocations: 3.749 MB / 0.7953 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02632/1.489, allocations: 9.757 MB / 0.8048 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.202e-05/1.489, allocations: 3.188 kB / 0.8048 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.396e-06/1.489, allocations: 0 / 0.8048 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0008769/1.49, allocations: 1.094 kB / 0.8048 GB, free: 9.219 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.05461/1.544, allocations: 7.709 MB / 0.8124 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 8.091e-05/1.545, allocations: 10.75 kB / 0.8124 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/1.555, allocations: 0.7819 MB / 0.8131 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02742/1.582, allocations: 6.244 MB / 0.8192 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009915/1.583, allocations: 418 kB / 0.8196 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005468/1.589, allocations: 0.5376 MB / 0.8202 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04612/1.635, allocations: 8.08 MB / 0.828 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005327/1.636, allocations: 21.47 kB / 0.8281 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004553/1.64, allocations: 235.4 kB / 0.8283 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004213/1.641, allocations: 163 kB / 0.8284 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03031/1.671, allocations: 6.528 MB / 0.8348 GB, free: 0.793 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.09319/1.764, allocations: 31.12 MB / 0.8652 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/1.774, allocations: 3.642 MB / 0.8688 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008089/1.782, allocations: 2.807 MB / 0.8715 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00167/1.784, allocations: 0.8198 MB / 0.8723 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/1.784, allocations: 80.61 kB / 0.8724 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 9.187e-06/1.784, allocations: 7.312 kB / 0.8724 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.02221/1.807, allocations: 5.761 MB / 0.878 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/1.807, allocations: 77.52 kB / 0.8781 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01749/1.824, allocations: 5.032 MB / 0.883 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001405/1.826, allocations: 81.7 kB / 0.8831 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.005827/1.832, allocations: 2.867 MB / 0.8859 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00346/1.835, allocations: 0.9333 MB / 0.8868 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002509/1.838, allocations: 0.7191 MB / 0.8875 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001849/1.838, allocations: 305.1 kB / 0.8878 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005006/1.843, allocations: 1.677 MB / 0.8894 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007312/1.85, allocations: 2.929 MB / 0.8923 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0149/1.865, allocations: 4.969 MB / 0.8971 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.548e-05/1.865, allocations: 12 kB / 0.8971 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.02186/1.887, allocations: 5.441 MB / 0.9025 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.083e-05/1.887, allocations: 22.03 kB / 0.9025 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.769e-05/1.887, allocations: 47.75 kB / 0.9025 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/1.889, allocations: 423.2 kB / 0.9029 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00609/1.895, allocations: 0.8584 MB / 0.9038 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009102/1.904, allocations: 5.251 MB / 0.9089 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01209/1.916, allocations: 0.6393 MB / 0.9095 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001877/1.918, allocations: 187.5 kB / 0.9097 GB, free: 11.09 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.01087/1.929, allocations: 2.287 MB / 0.9119 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003519/1.933, allocations: 490.1 kB / 0.9124 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/1.947, allocations: 4.175 MB / 0.9165 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.999e-05/1.947, allocations: 32 kB / 0.9165 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/1.947, allocations: 7.984 kB / 0.9165 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009459/1.956, allocations: 3.64 MB / 0.9201 GB, free: 388 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04384/2, allocations: 10.21 MB / 0.93 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/2, allocations: 4 kB / 0.93 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004067/2.004, allocations: 0.4961 MB / 0.9305 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/2.006, allocations: 371.1 kB / 0.9309 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000531/2.007, allocations: 79.95 kB / 0.931 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009247/2.016, allocations: 5.205 MB / 0.936 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.518e-05/2.016, allocations: 11.38 kB / 0.9361 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02284/2.039, allocations: 6.237 MB / 0.9421 GB, free: 9.352 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009149/2.048, allocations: 1.08 MB / 0.9432 GB, free: 8.246 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004293/2.052, allocations: 75.92 kB / 0.9433 GB, free: 8.172 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009749/2.062, allocations: 328.8 kB / 0.9436 GB, free: 7.855 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001169/2.063, allocations: 177.5 kB / 0.9438 GB, free: 7.688 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007825/2.064, allocations: 127.9 kB / 0.9439 GB, free: 7.562 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01483/2.079, allocations: 3.687 MB / 0.9475 GB, free: 3.891 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.803e-06/2.079, allocations: 0 / 0.9475 GB, free: 3.891 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01494/2.094, allocations: 1.773 MB / 0.9492 GB, free: 2.113 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.003074/2.097, allocations: 487.7 kB / 0.9497 GB, free: 1.688 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01338/2.111, allocations: 4.254 MB / 0.9538 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.279e-05/2.111, allocations: 8.062 kB / 0.9538 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.006373/2.117, allocations: 2.038 MB / 0.9558 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03902/2.156, allocations: 3.283 MB / 0.959 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06423/2.22, allocations: 14.94 MB / 0.9736 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01809/2.239, allocations: 4.238 MB / 0.9778 GB, free: 5.051 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005101/2.244, allocations: 441.9 kB / 0.9782 GB, free: 4.621 MB / 0.7012 GB Notification: Performance of SimCode: time 2.745e-06/2.244, allocations: 0 / 0.9782 GB, free: 4.621 MB / 0.7012 GB Notification: Performance of Templates: time 1.16/3.404, allocations: 172.5 MB / 1.147 GB, free: 231.9 MB / 0.7794 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.StratifiedNonUniformInitialCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitialCalcHelperMain.o] Error 1