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.0009408/0.0009405, 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.001011/0.001011, allocations: 178.1 kB / 16.58 MB, free: 6.879 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.958/1.958, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.824/1.824, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0005334/0.0005334, allocations: 16.78 kB / 0.6744 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.271, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05124/0.3223, allocations: 51.54 MB / 0.8383 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02352/0.3458, allocations: 16.75 MB / 0.8546 GB, free: 7.477 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003361/0.3493, allocations: 63.62 kB / 0.8547 GB, free: 7.414 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002514/0.3518, allocations: 0.6208 MB / 0.8553 GB, free: 6.789 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007376/0.3592, allocations: 1.978 MB / 0.8572 GB, free: 4.801 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004232/0.3635, allocations: 1.077 MB / 0.8583 GB, free: 3.734 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0258/0.3893, allocations: 23.48 MB / 0.8812 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01191/0.4012, allocations: 7.15 MB / 0.8882 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01325/0.4145, allocations: 5.296 MB / 0.8933 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01223/0.4268, allocations: 5.481 MB / 0.8987 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002473/0.4293, allocations: 347.8 kB / 0.899 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006258/0.4356, allocations: 0.7802 MB / 0.8998 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003378/0.439, allocations: 1.525 MB / 0.9013 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004655/0.4437, allocations: 1.603 MB / 0.9028 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.6398/1.083, allocations: 10.27 MB / 0.9129 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/1.084, allocations: 0 / 0.9129 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.727e-06/1.084, allocations: 0.9688 kB / 0.9129 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0008118/1.084, allocations: 0 / 0.9129 GB, free: 33.09 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.02641/1.111, allocations: 6.907 MB / 0.9196 GB, free: 30.45 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/1.111, allocations: 10.22 kB / 0.9196 GB, free: 30.45 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00825/1.119, allocations: 0.8528 MB / 0.9205 GB, free: 30.05 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0179/1.137, allocations: 6.349 MB / 0.9267 GB, free: 29.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007762/1.138, allocations: 459.8 kB / 0.9271 GB, free: 29.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004636/1.143, allocations: 0.5943 MB / 0.9277 GB, free: 29.22 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03752/1.18, allocations: 8.98 MB / 0.9365 GB, free: 28.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006316/1.181, allocations: 24.09 kB / 0.9365 GB, free: 28.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004237/1.185, allocations: 260 kB / 0.9367 GB, free: 28.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004268/1.186, allocations: 183.8 kB / 0.9369 GB, free: 28.24 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0264/1.212, allocations: 7.414 MB / 0.9441 GB, free: 28.19 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.07324/1.285, allocations: 35.94 MB / 0.9792 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008454/1.294, allocations: 4.276 MB / 0.9834 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00622/1.3, allocations: 3.388 MB / 0.9867 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002146/1.302, allocations: 0.9773 MB / 0.9877 GB, free: 22.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005527/1.308, allocations: 2.385 MB / 0.99 GB, free: 21.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004522/1.312, allocations: 447.6 kB / 0.9904 GB, free: 21.26 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=317): time 1.965e-05/1.312, allocations: 0 / 0.9904 GB, free: 21.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317): time 0.01519/1.328, allocations: 7.085 MB / 0.9973 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.328, allocations: 82.53 kB / 0.9974 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008841/1.337, allocations: 5.332 MB / 1.003 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001307/1.338, allocations: 90.86 kB / 1.003 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003389/1.341, allocations: 3.177 MB / 1.006 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002253/1.344, allocations: 1.114 MB / 1.007 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002928/1.344, allocations: 85.53 kB / 1.007 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003728/1.344, allocations: 489.7 kB / 1.007 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003779/1.348, allocations: 2.144 MB / 1.01 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005752/1.354, allocations: 3.677 MB / 1.013 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005544/1.359, allocations: 2.896 MB / 1.016 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.444e-05/1.359, allocations: 19 kB / 1.016 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01338/1.373, allocations: 6.727 MB / 1.023 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.394e-05/1.373, allocations: 53.7 kB / 1.023 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.519e-05/1.373, allocations: 51.98 kB / 1.023 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/1.374, allocations: 437 kB / 1.023 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003924/1.378, allocations: 1.015 MB / 1.024 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005852/1.384, allocations: 5.253 MB / 1.029 GB, free: 5.324 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007714/1.392, allocations: 462.8 kB / 1.03 GB, free: 4.871 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001405/1.393, allocations: 224 kB / 1.03 GB, free: 4.652 MB / 0.7481 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.007486/1.401, allocations: 2.453 MB / 1.032 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002143/1.403, allocations: 0.5249 MB / 1.033 GB, free: 1.727 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009834/1.413, allocations: 5.233 MB / 1.038 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.629e-05/1.413, allocations: 36 kB / 1.038 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.413, allocations: 4 kB / 1.038 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006614/1.419, allocations: 4.511 MB / 1.042 GB, free: 7.812 MB / 0.7637 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.02436/1.444, allocations: 11.94 MB / 1.054 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/1.444, allocations: 0 / 1.054 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002752/1.446, allocations: 0.6567 MB / 1.055 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008924/1.447, allocations: 365.3 kB / 1.055 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002633/1.448, allocations: 87.61 kB / 1.055 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005725/1.453, allocations: 5.172 MB / 1.06 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.453, allocations: 4 kB / 1.06 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01339/1.467, allocations: 7.596 MB / 1.068 GB, free: 13.64 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004751/1.472, allocations: 1.205 MB / 1.069 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001872/1.473, allocations: 63.98 kB / 1.069 GB, free: 12.35 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005351/1.479, allocations: 478.8 kB / 1.069 GB, free: 11.88 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004611/1.479, allocations: 202.2 kB / 1.069 GB, free: 11.68 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000474/1.48, allocations: 139.9 kB / 1.07 GB, free: 11.55 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.006808/1.487, allocations: 3.703 MB / 1.073 GB, free: 7.863 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.91e-07/1.487, allocations: 0 / 1.073 GB, free: 7.863 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.009663/1.496, allocations: 1.976 MB / 1.075 GB, free: 5.883 MB / 0.795 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.001761/1.498, allocations: 484.3 kB / 1.076 GB, free: 5.465 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.009739/1.508, allocations: 5.347 MB / 1.081 GB, free: 224 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/1.508, allocations: 0 / 1.081 GB, free: 224 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004018/1.512, allocations: 2.506 MB / 1.083 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01854/1.53, allocations: 3.229 MB / 1.086 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03482/1.565, allocations: 16.1 MB / 1.102 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005984/1.571, allocations: 4.52 MB / 1.107 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003017/1.574, allocations: 479 kB / 1.107 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of SimCode: time 1.653e-06/1.574, allocations: 0 / 1.107 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of Templates: time 0.933/2.507, allocations: 183.4 MB / 1.286 GB, free: 357.1 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile make -j1 -f Buildings_8_Buildings.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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