Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001008/0.001008, allocations: 98.88 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.001704/0.001704, allocations: 185.7 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.903/1.903, allocations: 205.4 MB / 223.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.853/1.853, allocations: 292.7 MB / 0.5509 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005558/0.0005559, allocations: 16 kB / 0.675 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2869, allocations: 116.3 MB / 0.7885 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05399/0.341, allocations: 54.55 MB / 0.8418 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02445/0.3655, allocations: 17.65 MB / 0.859 GB, free: 3.164 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003182/0.3687, allocations: 67.62 kB / 0.8591 GB, free: 3.098 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003017/0.3718, allocations: 0.7185 MB / 0.8598 GB, free: 2.375 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009146/0.3809, allocations: 2.31 MB / 0.8621 GB, free: 56 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00422/0.3852, allocations: 1.373 MB / 0.8634 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.02725/0.4124, allocations: 27.67 MB / 0.8904 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01206/0.4245, allocations: 8.409 MB / 0.8986 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01378/0.4384, allocations: 5.213 MB / 0.9037 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5899/1.028, allocations: 5.781 MB / 0.9094 GB, free: 17.64 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.003367/1.032, allocations: 346.3 kB / 0.9097 GB, free: 17.64 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008301/1.04, allocations: 1.03 MB / 0.9107 GB, free: 17.64 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.005127/1.045, allocations: 1.588 MB / 0.9123 GB, free: 17.64 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01507/1.06, allocations: 3.87 MB / 0.916 GB, free: 17.61 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01977/1.08, allocations: 10.34 MB / 0.9261 GB, free: 17.13 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.08, allocations: 1.094 kB / 0.9261 GB, free: 17.13 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.218e-06/1.08, allocations: 0 / 0.9261 GB, free: 17.13 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0006356/1.081, allocations: 1.969 kB / 0.9261 GB, free: 17.13 MB / 0.7169 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.0259/1.107, allocations: 6.841 MB / 0.9328 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/1.107, allocations: 10.06 kB / 0.9328 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00758/1.114, allocations: 0.8491 MB / 0.9337 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01815/1.133, allocations: 6.496 MB / 0.94 GB, free: 13 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006864/1.133, allocations: 460.2 kB / 0.9404 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003273/1.137, allocations: 0.6026 MB / 0.941 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02929/1.166, allocations: 9.028 MB / 0.9498 GB, free: 12 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002248/1.166, allocations: 15.47 kB / 0.9499 GB, free: 12 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001277/1.168, allocations: 267.5 kB / 0.9501 GB, free: 12 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002223/1.168, allocations: 180.1 kB / 0.9503 GB, free: 12 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01984/1.188, allocations: 7.456 MB / 0.9576 GB, free: 11.95 MB / 0.7169 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.06555/1.253, allocations: 35.95 MB / 0.9927 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007159/1.26, allocations: 4.304 MB / 0.9969 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005204/1.266, allocations: 3.331 MB / 1 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/1.267, allocations: 0.9834 MB / 1.001 GB, free: 484 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004263/1.271, allocations: 2.39 MB / 1.003 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004361/1.276, allocations: 446.5 kB / 1.004 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=317): time 1.311e-05/1.276, allocations: 3.844 kB / 1.004 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of matching and sorting (n=317): time 0.0143/1.29, allocations: 7.138 MB / 1.011 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/1.29, allocations: 83.66 kB / 1.011 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0166/1.307, allocations: 5.379 MB / 1.016 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001581/1.309, allocations: 84.17 kB / 1.016 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.004478/1.313, allocations: 3.174 MB / 1.019 GB, free: 5.449 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.002564/1.316, allocations: 1.115 MB / 1.02 GB, free: 4.5 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000601/1.316, allocations: 357.2 kB / 1.021 GB, free: 4.285 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.316, allocations: 311.8 kB / 1.021 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003735/1.32, allocations: 2.154 MB / 1.023 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005461/1.326, allocations: 3.695 MB / 1.027 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009113/1.335, allocations: 6.31 MB / 1.033 GB, free: 8.156 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.883e-05/1.335, allocations: 12 kB / 1.033 GB, free: 8.145 MB / 0.7637 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01389/1.349, allocations: 6.762 MB / 1.04 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/1.349, allocations: 57.69 kB / 1.04 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.153e-05/1.349, allocations: 48 kB / 1.04 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/1.35, allocations: 429.1 kB / 1.04 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003471/1.353, allocations: 1.013 MB / 1.041 GB, free: 160 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005775/1.359, allocations: 5.26 MB / 1.046 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007406/1.367, allocations: 474.7 kB / 1.047 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005293/1.367, allocations: 212 kB / 1.047 GB, free: 10.01 MB / 0.7794 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.006545/1.374, allocations: 2.473 MB / 1.049 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00263/1.376, allocations: 0.5133 MB / 1.05 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/1.389, allocations: 5.25 MB / 1.055 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.116e-05/1.389, allocations: 31.98 kB / 1.055 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.861e-05/1.389, allocations: 12 kB / 1.055 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008353/1.397, allocations: 4.539 MB / 1.059 GB, free: 13.11 MB / 0.795 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.0365/1.434, allocations: 11.96 MB / 1.071 GB, free: 1.086 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/1.434, allocations: 7.141 kB / 1.071 GB, free: 1.082 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00346/1.437, allocations: 0.6508 MB / 1.072 GB, free: 468 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001087/1.438, allocations: 369.3 kB / 1.072 GB, free: 92 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007406/1.439, allocations: 83.95 kB / 1.072 GB, free: 8 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006482/1.446, allocations: 5.18 MB / 1.077 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.858e-06/1.446, allocations: 11.92 kB / 1.077 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01771/1.463, allocations: 7.615 MB / 1.085 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005966/1.469, allocations: 1.217 MB / 1.086 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003023/1.472, allocations: 60 kB / 1.086 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006914/1.479, allocations: 475.5 kB / 1.086 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007825/1.48, allocations: 201.2 kB / 1.087 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007297/1.481, allocations: 146.2 kB / 1.087 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.01056/1.492, allocations: 3.742 MB / 1.09 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.2e-07/1.492, allocations: 0 / 1.09 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.01216/1.504, allocations: 1.987 MB / 1.092 GB, free: 11.08 MB / 0.8262 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.00243/1.506, allocations: 482.8 kB / 1.093 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01247/1.519, allocations: 5.385 MB / 1.098 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/1.519, allocations: 4 kB / 1.098 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.005559/1.524, allocations: 2.509 MB / 1.1 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02509/1.549, allocations: 3.234 MB / 1.104 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04002/1.589, allocations: 16.63 MB / 1.12 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008282/1.598, allocations: 4.514 MB / 1.124 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0026/1.6, allocations: 484.9 kB / 1.125 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of SimCode: time 9.52e-07/1.6, allocations: 4 kB / 1.125 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of Templates: time 0.9164/2.517, allocations: 183.3 MB / 1.304 GB, free: 370.9 MB / 0.9981 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile make -j1 -f Buildings_8_Buildings.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o] Error 1